HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

custom ability problem

08-16-2004, 04:57 PM#1
debilek
Hi

I tried to make custom passive skill that gives chance for critical strike and increases the attack speed, but i simply dont know how. The spell editor in WE does not allow me to do it. Is there any way i can create such ability??
08-16-2004, 05:50 PM#2
Anitarf
The only way to make spells is to make them on the basis of already existing ones. The existing critical strike is unable to also boost attack speed, and no existing attack-speed-boosting ability allows for additional effects on attack such as critical strike. The only way to do this is with combining multiple abilities.

How does that work? Simple. You make the hero have a single critical-strike based hero ability. The attack speed bonus, however, you achieve by adding a unit ability to the hero when he learns his critical hero skill (unit abilities can be freely added and removed with triggers; the same is not true for hero skills).

When he learns higher levels of the hero critical ability, you remove the unit speed ability and add a better version of it (well, that you would do in the old way, with the upcoming patch, you will be able to do multilevel unit abilities as well and level them with triggers).

So, all the time, the hero is learning a single skill and all effects seem to come from it, while in reality, there are two abilities at work in the background to get the desired effect.

Just another note: the second ability, the one added to get the full effect you want, will have an icon. Unless you base it on an item ability, like the ability gloves of haste use; most (not all, but a great majority) of item abilities, when a custom unit ability is made on their basis, don't show an icon. If that's also true for the ability gloves of haste use, then your hero would really appear to have a single ability that gives him both attack speed bonus and critical strike.
08-16-2004, 06:42 PM#3
debilek
thx very much u helped a lot.