hi friends actually i made a spell that i can't add a special effect like flame strike on ability point.
-
Fel Strike
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Fel Strike
-
-
Actions
-
-------- Config --------
-
Set Fel_Strike_Point = (Target point of ability being cast)
-
Wait 0.50 seconds
-
Special Effect - Create a special effect at Fel_Strike_Point using LightStrikeArray.mdx
-
Special Effect - Destroy (Last created special effect)
-
Unit Group - Pick every unit in (Units within 150.00 of Fel_Strike_Point) and do (Actions)
-
Loop - Actions
-
Set Fel_Strike_Target = (Picked unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Fel_Strike_Target is Magic Immune) Equal to False
-
-
Then - Actions
-
Unit - Cause (Triggering unit) to damage Fel_Strike_Target, dealing 100.00 damage of attack type Spells and damage type Magic
-
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at Fel_Strike_Point facing Default building facing degrees
-
Set Dummy = (Last created unit)
-
Unit - Add Fel Strike Stun to Dummy
-
Unit - Order Dummy to Human Mountain King - Storm Bolt Fel_Strike_Target
-
Unit - Add a 0.20 second Generic expiration timer to Dummy
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
Destructible - Pick every destructible within 150.00 of Fel_Strike_Point and do (Destructible - Kill (Picked destructible))
-
Custom script: call RemoveLocation(udg_Fel_Strike_Point)
-
-
Attachments
Last edited: