- Joined
- Jun 2, 2009
- Messages
- 1,276
Update: After 100+ tests i have realized main problem is effects. They we're aura based and stays for 5 seconds even if i removed.
Now i have changed it but still my issue not solved.
I want to destroy all effects when integer lesser than or equal to 5.
Effects not adding/removing properly and stacking many effects.
Now i have changed it but still my issue not solved.
I want to destroy all effects when integer lesser than or equal to 5.
-
Heart of War Stack
-

Events
-


Game - DamageModifierEvent becomes Equal to 1.00
-
-

Conditions
-


(DamageEventSource has an item of type Claws of Attack +15) Equal to True
-
-

Actions
-


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



If - Conditions
-




Heart_of_War_Int[(Player number of (Owner of DamageEventSource))] Less than or equal to 11
-
-



Then - Actions
-




Set Heart_of_War_Int[(Player number of (Owner of DamageEventSource))] = (Heart_of_War_Int[(Player number of (Owner of DamageEventSource))] + 1)
-




Unit - Set level of Warheart2 (Gloves of Haste) for DamageEventSource to ((Level of Warheart2 (Gloves of Haste) for DamageEventSource) + 1)
-
-



Else - Actions
-
-


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



If - Conditions
-




Heart_of_War_Int[(Player number of (Owner of DamageEventSource))] Equal to 6
-
-



Then - Actions
-




Special Effect - Destroy EfektWarHeart[(Player number of (Owner of DamageEventSource))]
-




Special Effect - Create a special effect attached to the overhead of DamageEventSource using Abilities\Spells\Orc\SpiritLink\SpiritLinkTarget.mdl
-




Set EfektWarHeart[(Player number of (Owner of DamageEventSource))] = (Last created special effect)
-
-



Else - Actions
-




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





If - Conditions
-






Heart_of_War_Int[(Player number of (Owner of DamageEventSource))] Equal to 11
-
-





Then - Actions
-






Special Effect - Destroy EfektWarHeart[(Player number of (Owner of DamageEventSource))]
-






Special Effect - Create a special effect attached to the origin of DamageEventSource using war3mapImported\Spell Marker Red.mdx
-






Set EfektWarHeart[(Player number of (Owner of DamageEventSource))] = (Last created special effect)
-
-





Else - Actions
-
-
-
-
-
-
Heart of War Stack2 Copy Copy 8
-

Events
-


Time - Every 1.00 seconds of game time
-
-

Conditions
-

Actions
-


For each (Integer A) from 1 to 12, do (Actions)
-



Loop - Actions
-




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





If - Conditions
-






Heart_of_War_Int[(Integer A)] Greater than or equal to 2
-
-





Then - Actions
-






Set Heart_of_War_Int[(Integer A)] = (Heart_of_War_Int[(Integer A)] - 1)
-






Unit - Set level of Warheart2 (Gloves of Haste) for HeroOoO[17] to ((Level of Warheart2 (Gloves of Haste) for HeroOoO[17]) - 1)
-






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







If - Conditions
-








Heart_of_War_Int[(Integer A)] Less than or equal to 10
-








Heart_of_War_Int[(Integer A)] Greater than or equal to 6
-
-







Then - Actions
-








Special Effect - Destroy EfektWarHeart[(Integer A)]
-








Special Effect - Create a special effect attached to the overhead of HeroOyuncu[(Integer A)] using Abilities\Spells\Orc\SpiritLink\SpiritLinkTarget.mdl
-








Set EfektWarHeart[(Player number of (Player((Integer A))))] = (Last created special effect)
-
-







Else - Actions
-
-
-





Else - Actions
-
-
-
-


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



If - Conditions
-




Heart_of_War_Int[(Integer A)] Less than or equal to 5
-
-



Then - Actions
-




Special Effect - Destroy EfektWarHeart[(Integer A)]
-




Game - Display to (All players) for 1.00 seconds the text: bütün efeklerin s...
-
-



Else - Actions
-
-
-
Effects not adding/removing properly and stacking many effects.
Last edited:
