- Joined
- Apr 16, 2010
- Messages
- 584
So my problem is that i create a hero, same as main hero that is used in map, like illusion, and i need to order created hero to learn skills that main hero has. I don't want to use actions like Hero - Learn skill for (Triggering unit): Human Archmage - Blizzard because i don't need to specify an ability, in this example: Human Archmage - Blizzard. I want to add ability that main hero has, like same thing with items:
In field JASS Code is there a way to type some code that will add ability?
I hope you understood what i've been trying to say. Any help is appreciated!
-
Do Multiple ActionsFor each (Integer A) from 1 to 6, do (Actions)
-
Loop - Actions
-
Hero - Create (Item-type of (Item carried by Game_Hero[(Player number of (Triggering player))] in slot (Integer A))) and give it to AS_Dummy[(Player number of (Triggering player))]
-
-
In field JASS Code is there a way to type some code that will add ability?
I hope you understood what i've been trying to say. Any help is appreciated!