Buy abilities

Status
Not open for further replies.
Level 5
Joined
May 21, 2011
Messages
56
  • Invincibility Shield
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • ((Hero manipulating item) has an item of type Slippers of Agility +3) Equal to True
    • Actions
      • Hero - Learn skill for (Hero manipulating item): Human Archmage - Blizzard
I maked this trigger but when test don't work. What is wrong in code?
 

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,210
the learn skill makes that if the unit got the skill he learns it with skill points

do like this.

add the skill you want the unit to be able to add.

then use this

  • setup
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • Player - Disable Blizzard for Picked unit

  • buy ability
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Claws of Attack +15
    • Actions
      • Player - Enable Blizzard for (Owner of (Hero manipulating item))
 
Status
Not open for further replies.
Top