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
MirrorImage.w3x
Variables
Spell
READ ME
Mirror Image
Clear Image
Name
Type
is_array
initial_value
BladeMaster
unit
No
BladeMasterOwner
player
No
BladeMasterPotition
location
No
BladeMasterTarget
unit
No
MMDamage
real
No
TargetFacing
real
No
---------------------------------------------------------------------------------------------------------------------------
This spell originaly made by The_Dead_Fight and converted to JASS by ranzi.
---------------------------------------------------------------------------------------------------------------------------
Spell used in my maps : Siege of Dalaran
Spell Maker : The_Dead_Fight
JASS Converter : Ranzi
Mirror Image
Events
Unit - A unit Is attacked
Conditions
(Level of Mirror Image for (Attacking unit)) Greater than 0
Actions
Set Variable Set BladeMaster = (Attacking unit)
Set Variable Set BladeMasterOwner = (Owner of BladeMaster)
Set Variable Set BladeMasterPotition = (Position of BladeMaster)
Set Variable Set BladeMasterTarget = (Attacked unit)
Set Variable Set TargetFacing = (Facing of BladeMaster)
Set Variable Set MMDamage = (((1 x (Real((Level of Mirror Image for BladeMaster)))) x (Real((Agility of BladeMaster (Include bonuses))))) + 1)
Wait 0.10 seconds
Unit - Create 1 . Blade Master for BladeMasterOwner at BladeMasterPotition facing TargetFacing degrees
Animation - Change (Last created unit) 's vertex coloring to ( 100 %, 100 %, 100 %) with 60.00 % transparency
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Animation - Play (Last created unit) 's attack animation
Unit - Cause BladeMaster to damage BladeMasterTarget , dealing MMDamage damage of attack type Spells and damage type Normal
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of BladeMaster using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of BladeMaster using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
Unit - Move BladeMaster instantly to (Random point in (Region centered at (Position of BladeMasterTarget) with size (250.00, 250.00)))
Unit - Order BladeMaster to Attack . BladeMasterTarget
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.