- 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:
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
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
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
Last edited: