The spell itself is simple but really cool, I like it
.
But I give you some of my suggestion, hope it useful for you ^^.
First: Create a configurables trigger or maybe explain your spell config
.
You need to find another way to avoid the damage twice on enemy units instead of using DecoyAddGroup because it can not be synchronized with the other caster, just imagine, if the caster A and B casting ability at the same time and when the time is up, caster A will cause damage to the enemy, but B is not, because that unit were added in DecoyAddGroup variable!.
-
Set DecoyCaster[DecoyIndex2] = DecoyCaster[DecoyIndex]
-
Set DecoyCasterLoc[DecoyIndex2] = DecoyCasterLoc[DecoyIndex]
-
Set DecoyDummy[DecoyIndex2] = DecoyDummy[DecoyIndex]
-
Set DecoyDummyLoc[DecoyIndex2] = DecoyDummyLoc[DecoyIndex]
-
Set DecoyDummyDuration[DecoyIndex2] = DecoyDummyDuration[DecoyIndex]
-
Set DecoyGroup[DecoyIndex2] = DecoyGroup[DecoyIndex]
-
Set DecoyAoE[DecoyIndex2] = DecoyAoE[DecoyIndex]
-
Set DecoyDummySpinTime[DecoyIndex2] = DecoyDummySpinTime[DecoyIndex]
-
Set DecoyDummyFadeout[DecoyIndex2] = DecoyDummyFadeout[DecoyIndex]
-
Set DecoyDamage[DecoyIndex2] = DecoyDamage[DecoyIndex]
-
Set DecoyIndex2 = (DecoyIndex2 - 1)
-
Set DecoyIndex = (DecoyIndex - 1)
This can save your life
:
onCast..
-
Decoy
-
Events
-
Unit - A unit Starts the effect of an ability
-
Conditions
-
(Ability being cast) Equal to Wind Walk
-
Actions
-
-------- -----Instance a new Index----- --------
-
Set DecoyMUI = (DecoyMUI + 1)
-
-------- ..Save it.. --------
-
Set Decoy_MUI[DecoyMUI] = DecoyMUI
onLoop..
-
Decoy Loop
-
Events
-
Time - Every 0.03 seconds of game time
-
Conditions
-
Actions
-
For each (Integer DecoyMUI) from 1 to DecoyIndex, do (Actions)
-
Loop - Actions
-
-------- ..Load instance.. --------
-
Set DecoyData = Decoy_MUI[DecoyMUI]
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Then - Actions
-
-------- ..Simply recycle it!.. --------
-
Set Decoy_MUI[DecoyData] = Decoy_MUI[DecoyMUI]
-
-------- For safer :) --------
-
Set Decoy_MUI[DecoyMUI] = -1
-
-------- Simply deindex --------
-
Set DecoyMUI = (DecoyMUI - 1)
-
-------- ----------------------------- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Then - Actions
-
Trigger - Turn off (This trigger)
-
Else - Actions
-
Else - Actions
save Owner of DecoyCaster[DecoyIndex] to variable since it's used in period trigger.
Save damage type and attack type as configurable parts.
And as
AKA.GywGod133 said
.
Suggestion: So, the fake blade master will stand still and spin?, that would be boring and easily to realize it's fake. You have to think a cool stuff to go with it like A blade master "can" attack the enemy or something like that?.
Well, just it!. That's just my personal review. Fix or not depending on you
, but keep it in mind: do
NOT trying to fix my words like some "rude" people in here
.