- Joined
- Jun 10, 2013
- Messages
- 472
Hey I was wondering since in both these triggers the variable DamageDealt is used but they both have different values if that would cause a conflict or error in them
-
Precision Aura
-

Events
-


Game - GDD_Event becomes Equal to 0.00
-
-

Conditions
-

Actions
-


Set loc = (Position of GDD_DamageSource)
-


Set DamageDealt = (GDD_Damage x CriticalMultiplier)
-


Set CriticalMultiplier = 2.00
-


Set DamageDealt_Copy = (GDD_Damage x CriticalMultiplier_Copy)
-


Set CriticalMultiplier_Copy = 3.00
-


Set DamageDealt_Copy_2 = (GDD_Damage x CriticalMultiplier_Copy_2)
-


Set CriticalMultiplier_Copy_2 = 4.00
-


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



If - Conditions
-




(GDD_DamageSource has buff Precision Aura L1) Equal to True
-
-



Then - Actions
-




Set chance = (Random integer number between 1 and 100)
-




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





If - Conditions
-






chance Less than or equal to 15
-
-





Then - Actions
-






-------- Turn on Turn off creates an anti infinite loop stoping the damage from exponentially multiplying --------
-






Trigger - Turn off (This trigger)
-






Unit - Cause GDD_DamageSource to damage GDD_DamagedUnit, dealing (DamageDealt - GDD_Damage) damage of attack type Chaos and damage type Universal
-






Trigger - Turn on (This trigger)
-






Floating Text - Create floating text that reads ((String((Integer(DamageDealt)))) + !) at loc with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
-






Floating Text - Change (Last created floating text): Disable permanence
-






Floating Text - Set the velocity of (Last created floating text) to 15.00 towards 90.00 degrees
-






Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
-
-





Else - Actions
-
-
-



Else - Actions
-
-


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



If - Conditions
-




(GDD_DamageSource has buff Precision Aura L2) Equal to True
-
-



Then - Actions
-




Set chance = (Random integer number between 1 and 100)
-




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





If - Conditions
-






chance Less than or equal to 15
-
-





Then - Actions
-






Trigger - Turn off (This trigger)
-






Unit - Cause GDD_DamageSource to damage GDD_DamagedUnit, dealing (DamageDealt_Copy - GDD_Damage) damage of attack type Chaos and damage type Universal
-






Trigger - Turn on (This trigger)
-






Floating Text - Create floating text that reads ((String((Integer(DamageDealt_Copy)))) + !) at loc with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
-






Floating Text - Change (Last created floating text): Disable permanence
-






Floating Text - Set the velocity of (Last created floating text) to 15.00 towards 90.00 degrees
-






Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
-
-





Else - Actions
-
-
-



Else - Actions
-
-


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



If - Conditions
-




(GDD_DamageSource has buff Precision Aura L3) Equal to True
-
-



Then - Actions
-




Set chance = (Random integer number between 1 and 100)
-




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





If - Conditions
-






chance Less than or equal to 15
-
-





Then - Actions
-






Trigger - Turn off (This trigger)
-






Unit - Cause GDD_DamageSource to damage GDD_DamagedUnit, dealing (DamageDealt_Copy_2 - GDD_Damage) damage of attack type Chaos and damage type Universal
-






Trigger - Turn on (This trigger)
-






Floating Text - Create floating text that reads ((String((Integer(DamageDealt_Copy_2)))) + !) at loc with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
-






Floating Text - Change (Last created floating text): Disable permanence
-






Floating Text - Set the velocity of (Last created floating text) to 15.00 towards 90.00 degrees
-






Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
-
-





Else - Actions
-
-
-



Else - Actions
-
-


Custom script: call RemoveLocation (udg_loc)
-
-
-
Strategic Strike Copy
-

Events
-


Game - GDD_Event becomes Equal to 0.00
-
-

Conditions
-


(GDD_DamageSource has buff Strategic Strike ) Equal to True
-
-

Actions
-


Set DamageDealt = (GDD_Damage x 2.00)
-


Set loc = (Position of GDD_DamageSource)
-


Set chance = (Random integer number between 1 and 100)
-


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



If - Conditions
-




chance Less than or equal to 30
-
-



Then - Actions
-




-------- Turn on Turn off creates an anti infinite loop stoping the damage from exponentially multiplying --------
-




Trigger - Turn off (This trigger)
-




Unit - Cause GDD_DamageSource to damage GDD_DamagedUnit, dealing (DamageDealt - GDD_Damage) damage of attack type Chaos and damage type Universal
-




Trigger - Turn on (This trigger)
-




Floating Text - Create floating text that reads ((String((Integer(DamageDealt)))) + !) at loc with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
-




Floating Text - Change (Last created floating text): Disable permanence
-




Floating Text - Set the velocity of (Last created floating text) to 15.00 towards 90.00 degrees
-




Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
-
-



Else - Actions
-
-


Custom script: call RemoveLocation (udg_loc)
-
-








