- Joined
- Jul 16, 2014
- Messages
- 63
So, I have gone over this a couple of times, and tweaked it back and forth, and there seems to be some sort of problem that I can't seem to spot..
The problem is, that if Trigger 3 (Chain of Frost) is active, Trigger 2 (Shadow Walk) doesn't work and does absolutely nothing except removing the Chain of Frost ability, yet Trigger 3 (Chain of Frost) works fine.
If Trigger 3 (Chain of Frost) is disabled, Trigger 2 (Shadow Walk) works fine.
Q_Int = Integer Array
W_Int = Integer Array
E_Int = Integer Array
Mash = Ability Array

The problem is, that if Trigger 3 (Chain of Frost) is active, Trigger 2 (Shadow Walk) doesn't work and does absolutely nothing except removing the Chain of Frost ability, yet Trigger 3 (Chain of Frost) works fine.
If Trigger 3 (Chain of Frost) is disabled, Trigger 2 (Shadow Walk) works fine.
Q_Int = Integer Array
W_Int = Integer Array
E_Int = Integer Array
Mash = Ability Array
-
Get Integers
-
Events
-

Unit - A unit starts the effect of an ability
-
-
Conditions
-

(Ability being cast) Equal to Mash of the Elements
-
-
Actions
-

Set Q_Int[(Player number of (Owner of (Casting Unit)))] = (Number of units in Shadow_UnitGroup[(Player number of Owner of (Casting Unit)))]
-

Set W_Int[(Player number of (Owner of (Casting Unit)))] = (Number of units in Frost_UnitGroup[(Player number of Owner of (Casting Unit)))]
-

Set E_Int[(Player number of (Owner of (Casting Unit)))] = (Number of units in Fire_UnitGroup[(Player number of (Owner of (Casting Unit)))]
-
-
Shadow Walk
-
Events
-

Unit - A unit starts the effect of an ability
-
-
Conditions
-

(Ability being cast) Equal to Mash of the Elements
-
-
Actions
-

Unit - Remove Mash[((Player number of (Owner of Casting Unit)))] from (Casting Unit)
-

If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-


If - Conditions
-



Q_Int[(Player number of (Owner of (Casting Unit)))] Equal to 2
-



W_Int[(Player number of (Owner of (Casting Unit)))] Equal to 1
-



E_Int[(Player number of (Owner of (Casting Unit)))] Equal to 0
-
-


Then - Actions
-



Unit - Add Shadow Walk to (Casting Unit)
-



Set Mash[(Player Number of (Owner of (Casting Unit)))] = Shadow Walk
-
-
-
-
Chain of Frost
-
Events
-

Unit - A unit starts the effect of an ability
-
-
Conditions
-

(Ability being cast) Equal to Mash of the Elements
-
-
Actions
-

Unit - Remove Mash[((Player number of (Owner of Casting Unit)))] from (Casting Unit)
-

If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-


If - Conditions
-



Q_Int[(Player number of (Owner of (Casting Unit)))] Equal to 0
-



W_Int[(Player number of (Owner of (Casting Unit)))] Equal to 3
-



E_Int[(Player number of (Owner of (Casting Unit)))] Equal to 0
-
-


Then - Actions
-



Unit - Add Chain of Frost to (Casting Unit)
-



Set Mash[(Player Number of (Owner of (Casting Unit)))] = Chain of Frost
-
-
-

Last edited:

















