• 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] Frost Nova

Status
Not open for further replies.
Level 10
Joined
Jun 10, 2007
Messages
557
  • Electricalnovadamage
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Electrical Nova (Neutral Hostile)
    • Actions
      • Set TempReal = ((Real((Intelligence of (Casting unit) (Include bonuses)))) x 4.00)
      • Unit Group - Pick every unit in (Units within 300.00 of (Target point of ability being cast) matching ((Owner of (Matching unit)) Equal to Player 12 (Brown))) and do (Unit - Cause (Casting unit) to damage (Matching unit), dealing TempReal damage of attack type Spells and damage type Normal)

The above, my trigger, doesn't appear to work, (it's based off of Frost Nova) the slow effect and the buff show on affected units, but the damage isn't dealt. I'm thinking it's because I'm referring to the casting unit as a casting unit in a Pick Every Unit action, and thus it's referred to multiple times. Can anybody tell me what I'm doing wrong? :x
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
You would probably like to remove the unit group leak with the custom script "set bj_wantDestroyGroup = true" (put it beetwin your 2 actions).

And just a usefull tip, use Triggering Unit whenever you can, it usually works better then the other forms (in your case you can use it instead of "casting unit").
 
Status
Not open for further replies.
Top