• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Autocast Spell that uses HP?

Status
Not open for further replies.
This may do it, but I'm not sure.
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to (The Ability)
  • Actions
    • Unit - Cause (Casting Unit) to damage (Casting unit), dealing (#) damage of attack type (Spells) and damage type (Normal)
Words enclosed in parenthesis are changeable.
 
Yes it's possible but you would need a Damage Detection system for that. Look for the Order string in the object editor. Sorry for my ugly triggers.

Trigger 1
  • Events
    • Unit - A unit is issued an order
  • Conditions
    • Order Comparison - Issued order equal to (flamingarrows)
  • Actions
    • Turn on (Trigger 2)
Trigger 2
  • Events
    • A unit takes damage
  • Conditions
    • Integer Comparison - Level of (Searing Arrows) for DamageScource Greater than or equal to 1
  • Actions
    • Your effects here
Trigger 3
  • Events
    • Unit - A unit is issued an order
  • Conditions
    • Order Comparison - Issued order equal to (unflamingarrows)
  • Actions
    • Turn off (Trigger 2)
 
Status
Not open for further replies.
Back
Top