Custom script: local unit udg_LocalSortsUnit
Custom script: local location udg_LocalSortsPoint
Set LocalSortsUnit = (Target unit of ability being cast)
Set LocalSortsPoint = (Position of LocalSortsUnit)
Effet spécial - Create a special effect at LocalSortsPoint using AbilitiesSpellsItemsAIreAIreTarget.mdl
Set LocalSortsEffet = (Last created special effect)
Effet spécial - Destroy LocalSortsEffet
Custom script: call RemoveLocation( udg_LocalSortsPoint)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 1) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 15.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 2) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 30.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 3) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 60.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 4) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 120.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 5) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 200.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 6) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 300.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 7) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 375.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 8) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 450.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 9) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 520.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 10) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 600.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
For each (Integer A) from 1 to 4, do (Actions)
Boucle - Actions
Wait 3.00 game-time seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Alors - Actions
Partie - Display to (All players) the text: AAAAAAAAAAAAAAAAAAA...
Set LocalSortsPoint = (Position of LocalSortsUnit)
Effet spécial - Create a special effect at LocalSortsPoint using AbilitiesSpellsItemsAIreAIreTarget.mdl
Set LocalSortsEffet = (Last created special effect)
Effet spécial - Destroy LocalSortsEffet
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 1) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 20.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 2) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 40.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 3) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 80.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 4) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 160.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 5) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 240.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 6) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 380.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 7) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 450.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 8) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 510.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 9) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 565.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r for (Triggering unit)) Egal à 10) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 640.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
Custom script: call RemoveLocation( udg_LocalSortsPoint)