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

[Trigger] Autocast Problemz

Status
Not open for further replies.
I can't find any events, conditions, or actions that detects if an autocast ability is on or not. Anyways, to the point, I made an ability based off Black Arrows that deals damage based on your Agility if you either cast it or leave it on. If it's not casted and is off, it doesn't do damage. Here's the trigger, don't mind the custom script, that's just some function I made:
  • Dark Impulse
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Dark Impulse
    • Actions
      • Wait until (((Target unit of ability being cast) has buff Dark Impulse ) Equal to True), checking every 0.10 seconds
      • Custom script: call DamageBasedTrait(GetTriggerUnit(), GetSpellTargetUnit(), GetHeroAgi(GetTriggerUnit(), true), 0.16)
 
Status
Not open for further replies.
Top