A Question to Modders

I dabble in modding, myself. Content, mostly. My question is this:

I've added new, powerful items and abilities, looking at the existing items that are level restricted I found these lines

<Prereq>
 <Type>UnitStat_Level</Type>
 <Attribute>23</Attribute>
 </Prereq>
Which I assumed would not let the character use the item until said level was attained. Lo, and behold, I saw the Umber Sov walking around with it at level 2... Thus, I either assumed the code was for what it isn't for or I did something wrong.
Then, when I added abilities I found these lines:

<Prereq>
 <Type>UnitStat</Type>
 <Attribute>UnitStat_Level</Attribute>
 <Value>9</Value>
 </Prereq>
Now, I set the rarity of the abilities very high (low number) so I haven't seen one in game yet to test if the level restrictions are working on them either. Do you think the second set of lines would work for items also?

Thanks, Evil.

*sidenote* I decided to attack the Umber Sov with that ring equipped, "The One Ring," with my ~ level 6, Sov + 3 champ stack of doom... Kul-Al_kulan wiped us out easily,  }:)
12,309 views 7 replies
Reply #1 Top

bump, so many new posts....

Reply #2 Top

I would simply test this kind of question by adding the item to a tech you can get on turn one from a faction. Then set the price to 1 gildar. Now by it and see if you can equip. 

This should be sufficient:

<Prereq>
<Type>UnitStat_Level</Type>
<Attribute>8</Attribute>
</Prereq>

If you can't equip it, but you are sure you saw the AI do so, write it up as a bug in FE Support Forum. This is what I would guess is happening. 

Reply #3 Top

What seanw3 said.

But you should make sure it applies using no mods in the vanilla game first. We aren't supposed to report mod bugs at the moment.

Also, you should post mod stuff in the mod forum: https://forums.elementalgame.com/forum/1008 then we can find it without bumps :D

Reply #4 Top

I will be honest, I didn't even see the FE modding subforum... I've probably just been visiting beta and support so much, oops :)

 

Thanks you two. Funny, you two were the ones I thought would post replies

Reply #5 Top

The modding forum is actually hidden. Welcome to the fringe.

Reply #6 Top

Quoting Heavenfall, reply 5
The modding forum is actually hidden. Welcome to the fringe.
End of Heavenfall's quote

lol

Reply #7 Top

I guess that just shows how much of a modder I am not ...