loop
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
For each (Integer CurrentIndex) from 1 to MaxIndex, do (Actions)
Loop - Actions
Special Effect - Create a special effect at RandomPoint[1] using Special[1]
Set SFX[1] = (Last created special effect)
Special Effect - Create a special effect at RandomPoint[1] using Special[3]
Set SFX[4] = (Last created special effect)
Set TempGroup[1] = (Units within 300.00 of RandomPoint[1] matching (((Matching unit) belongs to an enemy of (Owner of TempUnit[MaxIndex])) Equal to True))
Unit Group - Pick every unit in TempGroup[1] and do (Actions)
Loop - Actions
Unit - Cause TempUnit[CurrentIndex] to damage (Picked unit), dealing 250.00 damage of attack type Spells and damage type Fire
Custom script: call DestroyGroup(udg_TempGroup[1])
Special Effect - Create a special effect at RandomPoint[2] using Special[1]
Set SFX[2] = (Last created special effect)
Special Effect - Create a special effect at RandomPoint[2] using Special[3]
Set SFX[5] = (Last created special effect)
Set TempGroup[2] = (Units within 300.00 of RandomPoint[2] matching (((Matching unit) belongs to an enemy of (Owner of TempUnit[MaxIndex])) Equal to True))
Unit Group - Pick every unit in TempGroup[2] and do (Actions)
Loop - Actions
Unit - Cause TempUnit[CurrentIndex] to damage (Picked unit), dealing 250.00 damage of attack type Spells and damage type Fire
Custom script: call DestroyGroup(udg_TempGroup[2])
Special Effect - Create a special effect at RandomPoint[3] using Special[1]
Set SFX[3] = (Last created special effect)
Special Effect - Create a special effect at RandomPoint[3] using Special[3]
Set SFX[6] = (Last created special effect)
Set TempGroup[3] = (Units within 300.00 of RandomPoint[3] matching (((Matching unit) belongs to an enemy of (Owner of TempUnit[MaxIndex])) Equal to True))
Unit Group - Pick every unit in TempGroup[3] and do (Actions)
Loop - Actions
Unit - Cause TempUnit[CurrentIndex] to damage (Picked unit), dealing 250.00 damage of attack type Spells and damage type Fire
Custom script: call DestroyGroup(udg_TempGroup[3])
Custom script: call RemoveLocation(udg_TempPoint[udg_CurrentIndex])
Special Effect - Destroy SFX[1]
Special Effect - Destroy SFX[2]
Special Effect - Destroy SFX[3]
Special Effect - Destroy SFX[4]
Special Effect - Destroy SFX[5]
Special Effect - Destroy SFX[6]
Set RandomPoint[1] = RandomPoint[1]
Set RandomPoint[2] = RandomPoint[2]
Set RandomPoint[3] = RandomPoint[3]
Set Region = Region
Set TempPoint[CurrentIndex] = TempPoint[MaxIndex]
Set TempUnit[CurrentIndex] = TempUnit[MaxIndex]
Set MaxIndex = (MaxIndex - 1)
Set CurrentIndex = (CurrentIndex - 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
MaxIndex Equal to 0
Then - Actions
Trigger - Turn off (This trigger)
Else - Actions
maaf di pisah.tapi waktu di cast sama 2 orang,satu spell ada damagenya satu lagi gak ad damagenya
sama post triggernya.