• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Ability with levels on item doesnt work

Status
Not open for further replies.
Level 17
Joined
Mar 21, 2011
Messages
1,597
hi,

i think you all know the ability of the nightelf stone giants that reduces the damage taken.

well i want to do sth like that:
each unit has this skill and i gave the skill 60 levels.
level 1: 0 damage prevented
level 2: 1 damage prevented
lev.............

now i made items and gave them the function to level up this skill if he acquires the item (level growth depends on item)

everything works fine... the skill levels up and so on, BUT the damage the unit takes stays the same. the skill doesnt affect the damage :(
i setted melee and distance damage to true, targets to ally,enemy, minimum damage to 1.

i need help! ty
 

Kusanagi Kuro

Hosted Project: SC
Level 10
Joined
Mar 11, 2012
Messages
708
Dont give the ability to that item.I think u should make a trigger that give the hero the spell book that contains this ability when the hero acquire that item and then disable that spell book. When the hero lose that item, remove that ability.
I think u know how to level up the skill already so I dont need to mention that right?
 
Level 17
Joined
Mar 21, 2011
Messages
1,597
you didnt understand it.
every unit has this ability at standard.
and then i triggered for example:
unit acquires item
item equal to sword
set level of skill to level of skill +1

so if i acquire the item the level of the skill increases.

but thats not the problem cause that works

it just the ability. it doesnt reduce the damage
 
Status
Not open for further replies.
Top