• 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] Ability Gone.

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
If you want to permanently remove the casted ability, I suggest you use this action below:
  • Remove Previous Casted Ability
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
    • Actions
      • Custom script: call UnitRemoveAbility(GetTriggerUnit(), GetSpellAbilityId())
But if you want it to be temporarily, you'll do like Dragon said:
  • Remove Previous Casted Ability
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
    • Actions
      • Player - Disable (Ability being cast) for (Triggering player)
Both works well, it's a matter of efficiency
 
Status
Not open for further replies.
Top