• 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.

Replace ability with another; with the same level

Status
Not open for further replies.
Level 6
Joined
Nov 14, 2007
Messages
155
It is a hero ability to be change with the same level; My trigger lacks the "Level of Ability" condition. But I don't know how to do it.. Please Help... REP is just One Click Away! Thanx

My Trigger looks like this:
Fire
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Fire Element (Fire)
Actions
Unit - Add Fire Bolt to (Triggering unit)
Unit - Remove Statis Bolt from (Triggering unit)
 
Level 16
Joined
May 1, 2008
Messages
1,605
Seas =)

You can do it with the trigger:

  • ReplaceAbility
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to SpellChange
    • Actions
      • Set Level = (Level of TestAbility2 for (Casting unit))
      • Unit - Remove TestAbility2 from (Casting unit)
      • Unit - Add TestAbility3 to (Casting unit)
      • Unit - Set level of TestAbility3 for (Casting unit) to Level
 
Level 9
Joined
Oct 17, 2007
Messages
547
Dr. Boom; The problem is whenever you click that skill even without learning the abillity2 will learn ability3;
NoobMapmaker; It can be remove or replaced

You cannot replace a hero's starting abilities especially after its already learned, at least not through using GUI anyways. If you add the ability by triggers its a different story please read carefully.
 
Level 9
Joined
Oct 17, 2007
Messages
547
Okay... Okay.. chill you're right okay?? I stand corrected... but still i'm looking for a way' THanks for the correction' +rep :grin:

If you what to have a condition that require an ability to be at a specific lv. In the drop down menu select Interger (unit-ability lv of unit) or something similar, I dont remember the exact line.
 
Status
Not open for further replies.
Top