Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
Master Slash By ArOn v1,1.w3x
Variables
Init
Init
Respawn Unit
Master Slash
Master Slash
Master Slash Died
Master Slash Loop
Master Slash Damage
Escribe debajo el código del guión personalizado especial para el mapa. El texto se incluirá en el guión del mapa después de declarar las variables y antes de los códigos de los detonadores.
Name
Type
is_array
initial_value
Effect_Mystic
effect
No
MasterSlash_Caster
unit
No
MasterSlash_Duration
real
No
MasterSlash_Effect
string
Yes
MasterSlash_Target
unit
No
Respawn_Point
location
No
Init
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Visibility - Disable fog of war
Visibility - Disable black mask
Respawn Unit
Events
Unit - A unit Dies
Conditions
Actions
Wait 5.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Dying unit) is A Hero) Not equal to True
Then - Actions
Set Variable Set Respawn_Point = (Position of (Dying unit))
Unit - Create 1 . (Unit-type of (Dying unit)) for (Owner of (Dying unit)) at Respawn_Point facing Default building facing degrees
Set Variable Set MasterSlash_Caster = (Triggering unit)
Set Variable Set MasterSlash_Target = (Target unit of ability being cast)
Trigger - Turn on Master_Slash_Loop <gen>
Master Slash Died
Events
Unit - A unit Dies
Conditions
(Dying unit) Equal to MasterSlash_Target
Actions
Unit - Unpause MasterSlash_Caster
Unit - Unpause MasterSlash_Target
Trigger - Turn off Master_Slash_Damage <gen>
Trigger - Turn off Master_Slash_Loop <gen>
Master Slash Loop
Events
Time - Every 0.02 seconds of game time
Conditions
Actions
Unit - Pause MasterSlash_Caster
Unit - Pause MasterSlash_Target
Unit - Turn collision for MasterSlash_Caster Off .
Set Variable Set MasterSlash_Effect[1] = "Textures\Sweep.mdx"
Special Effect - Create a special effect attached to the weapon (Unexpected type: 'attachpoint') of MasterSlash_Caster using MasterSlash_Effect[1]
Set Variable Set Effect_Mystic = (Last created special effect)
Trigger - Turn off (This trigger)
Trigger - Turn on Master_Slash_Damage <gen>
Animation - Change MasterSlash_Caster 's animation speed to 500.00 % of its original speed
Set Variable Set MasterSlash_Duration = (0.75 + (0.75 x (Real((Level of Master Slash for MasterSlash_Caster)))))
Wait MasterSlash_Duration seconds
Trigger - Turn off Master_Slash_Damage <gen>
Special Effect - Destroy Effect_Mystic
Unit - Unpause MasterSlash_Caster
Animation - Change MasterSlash_Caster 's animation speed to 100 % of its original speed
Unit - Turn collision for MasterSlash_Caster On .
Unit - Unpause MasterSlash_Target
Trigger - Turn off (This trigger)
Master Slash Damage
Events
Time - Every 0.20 seconds of game time
Conditions
Actions
Animation - Play MasterSlash_Caster 's attack animation
Unit - Cause MasterSlash_Caster to damage MasterSlash_Target , dealing (7.50 + (7.50 x (Real((Level of Master Slash for MasterSlash_Caster))))) damage of attack type Hero and damage type Unknown
Set Variable Set MasterSlash_Effect[2] = "Abilities\Weapons\MeatwagonMissile\MeatwagonMissile.mdl"
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of MasterSlash_Target using MasterSlash_Effect[2]
Special Effect - Destroy (Last created special effect)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.