• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] triggering Ray of Disruption

Status
Not open for further replies.
Level 2
Joined
May 2, 2008
Messages
10
Spell trigger problems

Hey, i have problems with a trigger, which makes the ability Ray of Disruption (which is like a chain-lightning, just with a missle that bounces instead of a lightning effect, which dispell buffs) to deal damage.
This is the trigger:
  • Ray of Disruption trigger
  • Events
  • Unit - A unit Begin casting an ability
  • Conditions
  • (Ability being cast) Equal to Ray of Disruption
  • Actions
  • Set RD_Level = (Level of Ray of Disruption for (Casting unit))
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
  • If - Conditions
  • ((Owner of (Target unit of ability being cast)) is an enemy of (Owner of (Casting unit))) Equal to True
  • Then - Actions
  • Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing (Real((50 x RD_Level))) damage of attack type Spells and damage type Normal
  • Else - Actions
I do not know what is wrong, and i am not very good at spell triggering.
The Ray of Disruption i made is customized to be a hero ability with 4 ranks.

Nobody wanna help me....? Thats a shame, then i'll never learn to create advanced triggered spells:cry::pird::huh:
 
Last edited:
Status
Not open for further replies.
Top