hi,
i have created an ability wich is called "bite" and i have given these ability to a unit named "dog".
the dog can increase his level despite being a non hero,
so i have puppy (lvl 1) wich when the dog grow is replaced by dog (lvl 2), wich then become hound (lvl 3) and then greater hound (lvl 4).
of course each dog get the bite ability according to his level.
ability 1 bite(lvl 1)
ability 2 bite(lvl 2)
ability 3 bite(lvl 3)
ability 4 bite(lvl 4)
all is set in object editor, so when unit is replaced it allready has all his ability and everyting.
but this is a waste of space, i want to get 1 ability "bite" with 4 lvl and give the same ability to all the dogs.
is there a way through the object editor to specify the lvl of the ability to be used by the unit?
i know a way through upgrade but this would change the ability level for all units possessing the ability, i need each dog type to have his corresponding level.
i know a way to do this through triggers but this would imply that each time i replace the unit or raise the unit, to use trigger to reset the ability lvl.
i have created an ability wich is called "bite" and i have given these ability to a unit named "dog".
the dog can increase his level despite being a non hero,
so i have puppy (lvl 1) wich when the dog grow is replaced by dog (lvl 2), wich then become hound (lvl 3) and then greater hound (lvl 4).
of course each dog get the bite ability according to his level.
ability 1 bite(lvl 1)
ability 2 bite(lvl 2)
ability 3 bite(lvl 3)
ability 4 bite(lvl 4)
all is set in object editor, so when unit is replaced it allready has all his ability and everyting.
but this is a waste of space, i want to get 1 ability "bite" with 4 lvl and give the same ability to all the dogs.
is there a way through the object editor to specify the lvl of the ability to be used by the unit?
i know a way through upgrade but this would change the ability level for all units possessing the ability, i need each dog type to have his corresponding level.
i know a way to do this through triggers but this would imply that each time i replace the unit or raise the unit, to use trigger to reset the ability lvl.