Hello all, I have a question regarding leveling abilities via trigger. I have an ability based on Periapt of Vitality (Item ability that I changed to unit ability) with 10 levels each level adding an additional 100 hp to the summoned unit. The problem is the ability is leveling but the unit is still only benefiting with the level 1 version. I used the game action to echo out the value of the level and it is indeed level 2, so it should be granting 200 hp instead of 100 hp but it isn't.
Could it have something to do with the fact that it is based off an item ability? Can base item abilities have levels that work properly? I Tried changed to hero ability too but no luck.
The level of the ability is set to the intelligence of the caster/10.
So the idea is a Hero with 50 Int will spawn an Arcane Elemental with 500 bonus hit points.
Thanks in advance.
Could it have something to do with the fact that it is based off an item ability? Can base item abilities have levels that work properly? I Tried changed to hero ability too but no luck.
The level of the ability is set to the intelligence of the caster/10.
So the idea is a Hero with 50 Int will spawn an Arcane Elemental with 500 bonus hit points.
Thanks in advance.
-
Summon Arcane Elemental
-
Events
- Unit - A unit Spawns a summoned unit
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Unit-type of (Summoned unit)) Equal to Arcane Elemental (Level 1)
- (Unit-type of (Summoned unit)) Equal to Arcane Elemental (Level 2)
- (Unit-type of (Summoned unit)) Equal to Arcane Elemental (Level 3)
-
Conditions
-
Or - Any (Conditions) are true
-
Actions
- Unit - Set level of Summoned Unit Bonus Health for (Summoned unit) to ((Integer((Real((Intelligence of (Summoning unit) (Include bonuses)))))) / 10)
- Game - Display to (All players) the text: (String((Level of Summoned Unit Bonus Health for (Summoned unit))))
-
Events
Last edited: