• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Skill Learn Trigger

Status
Not open for further replies.
Level 11
Joined
Jul 9, 2009
Messages
927
I Have a skill called, Abnormal Frenzy which is based from an attribute bonus and is inside a spell book (agility spell book) I Initialized it to be disabled on the start of the game.
when the hero reaches a certain amount of agility then the spell would be enabled again but it seems like it does not work
  • AAS1 Samurai Init
    • Events
      • Time - Elapsed game time is 0.04 seconds
    • Conditions
    • Actions
      • Player - Disable Abnormal Frenzy for Player 1 (Red)
      • Player - Disable Abnormal Frenzy for Player 2 (Blue)
  • AAS1 Samurai Learn
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • (Learned Hero Skill) Equal to Agility Attribute
          • ((Unit-type of (Triggering unit)) Equal to Samurai) or ((Unit-type of (Triggering unit)) Equal to Headhunter)
          • (Agility of (Triggering unit) (Include bonuses)) Greater than or equal to 23
    • Actions
      • Player - Enable Abnormal Frenzy for (Triggering player)
anyone can help ? thank you :)
 
Level 11
Joined
Jul 9, 2009
Messages
927
well there are 3 spell books in every character, every spell book has a corresponding attribute, when you reach a certain amount of the attribute you will gain that skill.
 
Level 11
Joined
Jul 9, 2009
Messages
927
Ok I will try that doctor :)
Edit: Thanks doctor its ok now +rep
 
Last edited:
Status
Not open for further replies.
Top