• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Ability with levels on item doesnt work

Status
Not open for further replies.
Level 18
Joined
Mar 21, 2011
Messages
1,622
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
 
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?
 
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.
Back
Top