Warcraft III resources & community, 2003–2006 · archived

A spell about changing hero ability and model

3 posts
#1

A spell about changing hero ability and model

I have a question
how to make a hero ability which can change all the skill it have.

I just making a hero ,I hope it can use some element magic ,eg.Fire.

then I make a ultimate skill which can let it change all the fire magic skill to ice magic skill.

Really need help ,plz give me some suggestion.
#2
For dif spells:

Events: Generic Unit event--->a unit finishes casting an ability

Conditions: Ability Comparason--->Ability Being Cast Equal to (Name of your spell)

Actions: Unit--->Replace (Casting) unit with a (New hero*) using the (Old unit's life).


For the level of hero:

Events: Generic Unit event--->a unit finishes casting an ability
Conditions: Ability Comparason--->Ability Being Cast Equal to (Name of your spell)

Actions: Hero--->Set Experience--->Set (last replaced unit) experience to (hero/hero experience of (Casting Unit)

The hero level is optionnal i think using (replace) keeps the herooes level by itself. uim not sure though i had a game where it worked if it doesnt use it.

ok overall this would work,. thing is though, you'd need 2 different ults (One is fire to ice other is ice to fire) (''for trigger necessities'') but give them the same name so that the player thinks its the same.
Also.Make another hero that is an EXACT replica of that which casted spell but has different spells.

Hope this helps you :)
#3
Actually I had sloved this problem yesterday
Anyway ,thank you for helping me

I just use the second skill of Tinker
edit it to be unit skill...and edit it like changing Ice and Fire element magic.

Then I make my ultimate skill for transform
somekind of Druid Transform skill...

Finally use Trigger
When I transform to Ice element
The tinker skill will follow to change level too

That's my slove