[Trigger] Multi Level Triggers

Status
Not open for further replies.
Level 3
Joined
Dec 16, 2008
Messages
24
I've create a sample skill the same as the storm bolt

Event:
Unit - A unit starts the effect of an ability
Condition:
(Ability being cast) Equal to Storm Bolt
Action:
Unit - Set life of (target unit of ability being cast) to ((Life of (target unit of ability being cast)) - 100)

I create 4 triggers for each level of my sample storm bolt containing different damage amount of 100/200/300/400, my question is how to create a single trigger containing all 4 effects.
 
Make if/then/else functions, or get a formula like deal damage equal to level of ability * 100
 
  • Spell
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to <Your ability>
    • Actions
      • Set SkillLevel = (Level of <Your spell> for (Triggering unit))
      • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing ((Real(SkillLevel)) x 100.00) damage of attack type Spells and damage type Normal
Cheers :)
 
Status
Not open for further replies.
Back
Top