Item Hero Stat Bonus?

Status
Not open for further replies.
Level 9
Joined
May 28, 2007
Messages
364
I'm having a problem where changing the ability of an Item spell (based off of Alx3 which is Item Hero Stat Bonus) is not changing the amount of stats given.

At level 20 the ability should give 20 strength, but it is only giving the amount given at level 1, which is 1 strength, even after I change the ability level. Anyone have any idea why?



JASS:
call UnitAddAbility(user,  'IS01')    
 call SetUnitAbilityLevel(user, 'IS01', 20)
call BJDebugMsg("Ability level: "+I2S(GetUnitAbilityLevel(user, WeaponStr))) // This displays "Ability level: 20" like it should
 
Didn't you say your BJDebugMsg displayed that the ability was level 20? I wouldn't be surprised, however, there are so many bugs in the Object Editor.

Yes it did. The ability level changes, but the effects for that level won't come into effect.

It's kind of like the Permanent Immolation buff, where changing it's level will still keep it at level 1 damage, unless you ShowUnit/HideUnit.
 
Status
Not open for further replies.
Back
Top