I've started making some spells of my own. This one is for my pokemon map. The problem is if the spell is cast by multiple units at the same time... Will the variables still work?
-
Nightshade
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Nightshade (Level 4)
-
Actions
- Set Nightshade_Caster = (Casting unit)
- Set Nightshade_Target = (Target unit of ability being cast)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Nightshade (Level 4) for Nightshade_Caster) Equal to 1
-
Then - Actions
- Unit - Cause Nightshade_Caster to damage Nightshade_Target, dealing ((Real((Hero level of Nightshade_Caster))) x 4.00) damage of attack type Spells and damage type Normal
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Nightshade (Level 4) for Nightshade_Caster) Equal to 2
-
Then - Actions
- Unit - Cause Nightshade_Caster to damage Nightshade_Target, dealing ((Real((Hero level of Nightshade_Caster))) x 8.00) damage of attack type Spells and damage type Normal
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Nightshade (Level 4) for Nightshade_Caster) Equal to 3
-
Then - Actions
- Unit - Cause Nightshade_Caster to damage Nightshade_Target, dealing ((Real((Hero level of Nightshade_Caster))) x 12.00) damage of attack type Spells and damage type Normal
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Nightshade (Level 4) for Nightshade_Caster) Equal to 4
-
Then - Actions
- Unit - Cause Nightshade_Caster to damage Nightshade_Target, dealing ((Real((Hero level of Nightshade_Caster))) x 16.00) damage of attack type Spells and damage type Normal
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Nightshade (Level 4) for Nightshade_Caster) Equal to 5
-
Then - Actions
- Unit - Cause Nightshade_Caster to damage Nightshade_Target, dealing ((Real((Hero level of Nightshade_Caster))) x 20.00) damage of attack type Spells and damage type Normal
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Nightshade (Level 4) for Nightshade_Caster) Equal to 6
-
Then - Actions
- Unit - Cause Nightshade_Caster to damage Nightshade_Target, dealing ((Real((Hero level of Nightshade_Caster))) x 25.00) damage of attack type Spells and damage type Normal
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Events