- Joined
- May 11, 2012
- Messages
- 2,108
Is this MUI?
The spell is passive.
-
Slaughter
-
Events
-
Unit - A unit Learns a skill
-
-
Conditions
-
(Learned Hero Skill) Equal to Slauther
-
(Level of Slauther for (Triggering unit)) Less than 2
-
-
Actions
-
Set Slauther_MaxIndex = (Slauther_MaxIndex + 1)
-
Set Slauther_TrigUnit[Slauther_MaxIndex] = (Triggering unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Slauther_MaxIndex Equal to 1
-
-
Then - Actions
-
Trigger - Turn on Slauther Loop <gen>
-
-
Else - Actions
-
-
-
-
Slauther Loop
-
Events
-
Game - damageEventTrigger becomes Equal to 1.00
-
-
Conditions
-
damageType Equal to 0
-
(target is Magic Immune) Equal to False
-
-
Actions
-
Trigger - Turn off (This trigger)
-
For each (Integer TempInt) from 1 to Slauther_MaxIndex, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Slauther for Slauther_TrigUnit[TempInt]) Equal to 1
-
(Level of target) Less than or equal to 5
-
(Random integer number between 1 and 100) Less than or equal to 5
-
source Equal to Slauther_TrigUnit[TempInt]
-
-
Then - Actions
-
Set TempPlayerGroup = (Player group((Owner of Slauther_TrigUnit[TempInt])))
-
Floating Text - Create floating text that reads (|CFFFF0000 + Slaughter!) above target with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
-
Floating Text - Hide (Last created floating text) for (All players)
-
Floating Text - Show (Last created floating text) for TempPlayerGroup
-
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
-
Floating Text - Change (Last created floating text): Disable permanence
-
Floating Text - Change the fading age of (Last created floating text) to 2.00 seconds
-
Floating Text - Change the lifespan of (Last created floating text) to 4.00 seconds
-
Unit - Cause Slauther_TrigUnit[TempInt] to damage target, dealing 1000000000.00 damage of attack type Chaos and damage type Normal
-
Custom script: call DestroyForce(udg_TempPlayerGroup)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Slauther for Slauther_TrigUnit[TempInt]) Equal to 2
-
(Level of target) Less than or equal to 10
-
(Random integer number between 1 and 100) Less than or equal to 10
-
source Equal to Slauther_TrigUnit[TempInt]
-
-
Then - Actions
-
Set TempPlayerGroup = (Player group((Owner of Slauther_TrigUnit[TempInt])))
-
Floating Text - Create floating text that reads (|CFFFF0000 + Slaughter!) above target with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
-
Floating Text - Hide (Last created floating text) for (All players)
-
Floating Text - Show (Last created floating text) for TempPlayerGroup
-
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
-
Floating Text - Change (Last created floating text): Disable permanence
-
Floating Text - Change the fading age of (Last created floating text) to 2.00 seconds
-
Floating Text - Change the lifespan of (Last created floating text) to 4.00 seconds
-
Unit - Cause Slauther_TrigUnit[TempInt] to damage target, dealing 1000000000.00 damage of attack type Chaos and damage type Normal
-
Custom script: call DestroyForce(udg_TempPlayerGroup)
-
-
Else - Actions
-
-
-
-
-
-
Trigger - Turn on (This trigger)
-
-