Hi guys, i have a problem with my spell that it wont work, tooltips:
How it work: when ur hp are greater than the "dissapear condition", your panda is summoned. At lvl3 you can summons 3 pandas at 100% HP
Problems: idk since i've checked and it wont appear at once, please help me cuz i cant find any error
Auto summons the spirit pandas that fight for you:
- Level 1: Storm: dissapear if your HP below 25%
-Level 2: Earth: dissapear if your HP below 50%
-Level 3: Fire: dissapear if your HP below 75%
How it work: when ur hp are greater than the "dissapear condition", your panda is summoned. At lvl3 you can summons 3 pandas at 100% HP
Problems: idk since i've checked and it wont appear at once, please help me cuz i cant find any error

-
Events
-
Time - Every 0.50 seconds of game time
-
-
Conditions
-
Actions
-
-------- CHECK AVAIABLE UNIT --------
-
Unit Group - Pick every unit in (Units in (Playable map area) matching ((Level of Brother Spirits for (Matching unit)) Greater than (>) 0)) and do (Set Brother_Spirits_User = (Picked unit))
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Brother Spirits for Brother_Spirits_User) Equal to (==) 1
-
-
Then - Actions
-
Set Temp_Group = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to (==) Storm))
-
Unit Group - Pick every unit in Temp_Group and do (Actions)
-
Loop - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of units in TempGroup) Equal to (==) 0
-
-
Then - Actions
-
Set AALoc1 = (Position of Brother_Spirits_User)
-
Unit - Create 1 Storm for (Owner of Brother_Spirits_User) at AALoc1 facing Default building facing (270.0) degrees
-
Unit - Order (Last created unit) to Follow Brother_Spirits_User
-
Special Effect - Create a special effect attached to the chest of (Last created unit) using Abilities\Spells\Orc\FeralSpirit\feralspirittarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
Custom script: call RemoveLocation(udg_AALoc1)
-
-
Else - Actions
-
-------- IF UNIT ALREADY APPEAR --------
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Number of units in TempGroup) Equal to (==) 1) or ((Life of Brother_Spirits_User) Less than (<) (0.25 x (Max life of Brother_Spirits_User)))
-
-
Then - Actions
-
Do nothing
-
-
Else - Actions
-
-
-
-
-
-
-
Custom script: call DestroyGroup (udg_Temp_Group)
-
-
Else - Actions
-
-------- CHECK THE MAP TO SAVE THE TYPE OF PANDAS --------
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Brother Spirits for Brother_Spirits_User) Equal to (==) 2
-
-
Then - Actions
-
Set Temp_Group = (Units in (Playable map area) matching (((Unit-type of (Matching unit)) Equal to (==) Storm) and ((Unit-type of (Matching unit)) Equal to (==) Earth)))
-
Unit Group - Pick every unit in Temp_Group and do (Actions)
-
Loop - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of units in TempGroup) Less than (<) 2
-
-
Then - Actions
-
Set AALoc1 = (Position of Brother_Spirits_User)
-
Unit - Create 1 Storm for (Owner of Brother_Spirits_User) at AALoc1 facing Default building facing (270.0) degrees
-
Unit - Order (Last created unit) to Follow Brother_Spirits_User
-
Special Effect - Create a special effect attached to the chest of (Last created unit) using Abilities\Spells\Orc\FeralSpirit\feralspirittarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
Unit - Create 1 Earth for (Owner of Brother_Spirits_User) at AALoc1 facing Default building facing (270.0) degrees
-
Unit - Order (Last created unit) to Follow Brother_Spirits_User
-
Special Effect - Create a special effect attached to the chest of (Last created unit) using Abilities\Spells\Orc\FeralSpirit\feralspirittarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
Custom script: call RemoveLocation(udg_AALoc1)
-
-
Else - Actions
-
-------- IF UNITS ALREADY APPEAR --------
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Number of units in TempGroup) Equal to (==) 2) or ((Life of Brother_Spirits_User) Less than (<) (0.50 x (Max life of Brother_Spirits_User)))
-
-
Then - Actions
-
Do nothing
-
-
Else - Actions
-
-
-
-
-
-
-
Custom script: call DestroyGroup (udg_Temp_Group)
-
-
Else - Actions
-
-------- CHECK THE MAP TO SAVE THE TYPE OF PANDAS --------
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Brother Spirits for Brother_Spirits_User) Equal to (==) 3
-
-
Then - Actions
-
Set Temp_Group = (Units in (Playable map area) matching (((Unit-type of (Matching unit)) Equal to (==) Storm) and ((Unit-type of (Matching unit)) Equal to (==) Earth)))
-
Unit Group - Pick every unit in Temp_Group and do (Actions)
-
Loop - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of units in TempGroup) Less than (<) 3
-
-
Then - Actions
-
Set AALoc1 = (Position of Brother_Spirits_User)
-
Unit - Create 1 Storm for (Owner of Brother_Spirits_User) at AALoc1 facing Default building facing (270.0) degrees
-
Unit - Order (Last created unit) to Follow Brother_Spirits_User
-
Special Effect - Create a special effect attached to the chest of (Last created unit) using Abilities\Spells\Orc\FeralSpirit\feralspirittarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
Unit - Create 1 Earth for (Owner of Brother_Spirits_User) at AALoc1 facing Default building facing (270.0) degrees
-
Unit - Order (Last created unit) to Follow Brother_Spirits_User
-
Special Effect - Create a special effect attached to the chest of (Last created unit) using Abilities\Spells\Orc\FeralSpirit\feralspirittarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
Unit - Create 1 Fire for (Owner of Brother_Spirits_User) at AALoc1 facing Default building facing (270.0) degrees
-
Unit - Order (Last created unit) to Follow Brother_Spirits_User
-
Special Effect - Create a special effect attached to the chest of (Last created unit) using Abilities\Spells\Orc\FeralSpirit\feralspirittarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
Custom script: call RemoveLocation(udg_AALoc1)
-
-
Else - Actions
-
-------- IF UNITS ALREADY APPEAR --------
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Number of units in TempGroup) Equal to (==) 3) or ((Life of Brother_Spirits_User) Less than (<) (0.75 x (Max life of Brother_Spirits_User)))
-
-
Then - Actions
-
Do nothing
-
-
Else - Actions
-
-
-
-
-
-
-
Custom script: call DestroyGroup (udg_Temp_Group)
-
-
Else - Actions
-
-
-
-
-
-
-
-
-
-------- CHECK HP OF OWNER --------
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Life of Brother_Spirits_User) Less than (<) (0.25 x (Max life of Brother_Spirits_User))) and ((Level of Brother Spirits for Brother_Spirits_User) Greater than (>) 0)
-
-
Then - Actions
-
-------- REMOVE STORM IF LIFE BELOW 25% --------
-
Set Temp_Group = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to (==) Storm))
-
Unit Group - Pick every unit in Temp_Group and do (Actions)
-
Loop - Actions
-
Unit - Remove (Picked unit) from the game
-
-
-
Custom script: call DestroyGroup (udg_Temp_Group)
-
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Life of Brother_Spirits_User) Less than (<) (0.50 x (Max life of Brother_Spirits_User))) and ((Level of Brother Spirits for Brother_Spirits_User) Greater than (>) 0)
-
-
Then - Actions
-
-------- REMOVE EARTH IF LIFE BELOW 50% --------
-
Set Temp_Group = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to (==) Earth))
-
Unit Group - Pick every unit in Temp_Group and do (Actions)
-
Loop - Actions
-
Unit - Remove (Picked unit) from the game
-
-
-
Custom script: call DestroyGroup (udg_Temp_Group)
-
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Life of Brother_Spirits_User) Less than (<) (0.75 x (Max life of Brother_Spirits_User))) and ((Level of Brother Spirits for Brother_Spirits_User) Greater than (>) 0)
-
-
Then - Actions
-
-------- REMOVE FIRE IF LIFE BELOW 75% --------
-
Set Temp_Group = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to (==) Fire))
-
Unit Group - Pick every unit in Temp_Group and do (Actions)
-
Loop - Actions
-
Unit - Remove (Picked unit) from the game
-
-
-
Custom script: call DestroyGroup (udg_Temp_Group)
-
-
Else - Actions
-
-
-
-
-
-
-