Auto Spell

Status
Not open for further replies.
Level 4
Joined
Jan 12, 2014
Messages
64
Hi Everyone, i want to add a spell automatic when you learn a specific spell ( Example : in level 25 you learn X spell , when learn Spell X Automatic Learn except Spell X)
hmm if anyone understand what i mean help me please :)
 
You can use the event: Unit - A unit learns a skill... then you check if the skill is skill X, if yes, add the other skill
  • Untitled Trigger 004
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Ultimate (Cenarius)
    • Actions
      • Hero - Learn skill for (Triggering unit): Thorns
it doesn't work , what is problem?
 
  • Untitled Trigger 004
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Ultimate (Cenarius)
    • Actions
      • Hero - Learn skill for (Triggering unit): Thorns
it doesn't work , what is problem?

Learning a hero skill, if I'm not mistaken, costs ability points (you can add those through trigger editor), and the hero needs to have the ability available to level up in abilities (hero) on the object editor.

But I think what would fit better what you want is if you made 'Thorns' into a unit ability, and used 'Unit - Add ability' instead, right? Otherwise, you could just have the hero learn 'Thorns' directly and waste ability points.
 
Status
Not open for further replies.
Back
Top