- Joined
- May 7, 2008
- Messages
- 346
Greetings.
Before posting this I've looked to see if there's anything like this but sadly I could not find something similar.
What I would like to do is to turn this Spell fully MUI for 1 Player.
Reason for that is that in my map there can be only 1 Unique Hero at the time.
Currently it's setup like this, and I assume the Points and Timers have to be an arrays? I tried asking ChatGPT but it told me to create a PN variable which won't help in this case, lol.
Before posting this I've looked to see if there's anything like this but sadly I could not find something similar.
What I would like to do is to turn this Spell fully MUI for 1 Player.
Reason for that is that in my map there can be only 1 Unique Hero at the time.
Currently it's setup like this, and I assume the Points and Timers have to be an arrays? I tried asking ChatGPT but it told me to create a PN variable which won't help in this case, lol.
-
Consecration Cast Copy
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Consecration (Squire 6th Spell)
-
-

Actions
-


Set VariableSet Consecration_Level = (Level of (Ability being cast) for Squire_Unit)
-


Set VariableSet Consecration_PN = (Player number of Squire_Player)
-


Set VariableSet Consecration_Point = (Position of Squire_Unit)
-


-------- --------
-


Special Effect - Create a special effect at Consecration_Point using war3mapImported\Empyrean Nova.mdx
-


Special Effect - Set Scale of (Last created special effect) to (0.70 + (0.11 x (Real(Consecration_Level))))
-


Special Effect - Destroy (Last created special effect)
-


-------- --------
-


Trigger - Turn on Consecration Loop <gen>
-


-------- --------
-
-
-
Consecration Loop Copy
-

Events
-


Time - Every 1.00 seconds of game time
-
-

Conditions
-

Actions
-


Set VariableSet Consecration_Timer = (Consecration_Timer + 1.00)
-


-------- --------
-


Special Effect - Create a special effect at Consecration_Point using war3mapImported\Empyrean Nova.mdx
-


Special Effect - Set Scale of (Last created special effect) to (0.70 + (0.11 x (Real(Consecration_Level))))
-


Special Effect - Destroy (Last created special effect)
-


-------- --------
-


Set VariableSet Consecration_Group = (Units within Consecration_AoE[Consecration_Level] of Consecration_Point matching ((((Matching unit) is alive) Equal to True) and ((((Matching unit) is A structure) Equal to False) and (((Matching unit) is Magic Immune) Equal to False))).)
-


-------- --------
-


Unit Group - Pick every unit in Consecration_Group and do (Actions)
-



Loop - Actions
-




-------- Set Main Variable --------
-




Set VariableSet Consecration_Unit = (Picked unit)
-




-------- --------
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Consecration_Unit belongs to an ally of Squire_Player.) Equal to True
-
-





Then - Actions
-






-------- --------
-






Set VariableSet NextHealTarget = Consecration_Unit
-






Set VariableSet NextHealSource = Squire_Unit
-






Set VariableSet NextHealAmount = (Consecration_Heal[Consecration_Level] + Heal_Event_Boost[Consecration_PN])
-






-------- --------
-






Trigger - Run Heal Unit <gen> (ignoring conditions)
-






-------- --------
-






Special Effect - Create a special effect attached to the origin of Consecration_Unit using war3mapImported\Penance.mdx
-






Special Effect - Set Scale of (Last created special effect) to 0.50
-






Special Effect - Destroy (Last created special effect)
-






-------- --------
-
-





Else - Actions
-






-------- --------
-






Unit - Cause Squire_Unit to damage Consecration_Unit, dealing Consecration_Damage[Consecration_Level] damage of attack type Spells and damage type Normal
-






-------- --------
-






Special Effect - Create a special effect attached to the origin of Consecration_Unit using Abilities\Spells\Other\Incinerate\IncinerateBuff.mdl
-






Special Effect - Destroy (Last created special effect)
-






-------- --------
-
-
-
-
-


-------- --------
-


Custom script: call DestroyGroup(udg_Consecration_Group)
-


-------- --------
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




Consecration_Timer Greater than or equal to 3.99
-
-



Then - Actions
-




Set VariableSet Consecration_Timer = 0.00
-




-------- --------
-




Custom script: call RemoveLocation(udg_Consecration_Point)
-




-------- --------
-




Trigger - Turn off (This trigger)
-




-------- --------
-
-



Else - Actions
-
-
-
Last edited:




