i tried to make a mui spell but im not sure!!!maybe some1 with more experience could tell me if i did something wrong!!
-
sakura slam mui Copy
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Sakura Power Slam
-
-
Actions
-
Set SakT[1] = (Position of (Casting unit))
-
Set UNITGRUP[31] = (Units within 1000.00 of SakT[1] matching (((Picked unit) belongs to an enemy of (Triggering player)) Equal to True))
-
Set Sakstr = (Agility of (Triggering unit) (Exclude bonuses))
-
Set SAoe = (Real((Level of (Ability being cast) for (Triggering unit))))
-
Set SdTarget = ((Real(Sakstr)) x 2.00)
-
Set SdAoe = 700.00
-
Set SAKR[5] = (8.50 x (SAoe x (SdTarget + 150.00)))
-
Unit Group - Pick every unit in UNITGRUP[31] and do (Unit - Cause (Casting unit) to damage (Matching unit), dealing SAKR[0] damage of attack type Chaos and damage type Normal)
-
Environment - Create a 3.00 second Normal ripple deformation at SakT[1] with starting radius 0.00, ending radius 1000.00, and depth 300.00, using 1.00 second ripples spaced 512.00 apart
-
Environment - Create a 3.00 second Temporary crater deformation at SakT[1] with radius 1024.00 and depth 128.00
-
Unit - Create 1 Detonate for (Triggering player) at SakT[1] facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit Group - Add (Last created unit) to UNITGRUP[31]
-
Unit Group - Pick every unit in UNITGRUP[31] and do (Actions)
-
Loop - Actions
-
Unit - Cause (Casting unit) to damage (Picked unit), dealing SAKR[5] damage of attack type Spells and damage type Normal
-
-
-
Destructible - Pick every destructible within SdAoe of SakT[1] and do (Actions)
-
Loop - Actions
-
Destructible - Kill (Picked destructible)
-
-
-
Unit - Create 1 Transformation effect for (Triggering player) at SakT[1] facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Create 1 Normal Hit for (Triggering player) at SakT[1] facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Create 1 Dummy power up for (Triggering player) at SakT[1] facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Create 1 dummy aura for (Triggering player) at SakT[1] facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Custom script: call RemoveLocation(udg_SakT[1])
-
Custom script: call DestroyGroup(udg_UNITGRUP[31])
-
Set SdAoe = 0.00
-
Set Sakstr = 0
-
Set SdTarget = 0.00
-
-