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
Reflect.w3x
Variables
Spells
Readme
Trigg Reflect
Reflect
this map only
init
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
lolz
rect
No
Reflect_Users
group
No
Made by deth_lord.
If you use this in your map please give me sufficient credit.
Trigg Reflect
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Reflect
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is in Reflect_Users.) Equal to True
Then - Actions
Else - Actions
Unit Group - Add (Triggering unit) to Reflect_Users
Trigger - Add to Reflect <gen> the event ((Casting unit) Takes damage)
Reflect
Events
Conditions
((Triggering unit) has buff Reflect) Equal to True
Actions
Custom script: local unit dummy
Custom script: local location dummyspawn = GetUnitLoc(GetTriggerUnit())
Custom script: local location damagesource = GetUnitLoc(GetEventDamageSource())
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Mana of (Attacked unit)) Greater than or equal to 30.00
Then - Actions
Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + (Damage taken))
Unit - Set mana of (Triggering unit) to ((Mana of (Triggering unit)) - 30.00)
Special Effect - Create a special effect attached to the chest (Unexpected type: 'attachpoint') of (Triggering unit) using Abilities\Spells\Items\SpellShieldAmulet\SpellShieldCaster.mdl
Special Effect - Destroy (Last created special effect)
Unit - Cause (Triggering unit) to damage (Damage source) , dealing ((Damage taken) x (((Real((Level of Reflect for (Triggering unit)))) x 0.15) + 0.15)) damage of attack type Spells and damage type Normal
Else - Actions
Unit - Order (Triggering unit) to Night Elf Demon Hunter - Deactivate Immolation .
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.