ertaboy356b
Old School Gamer
- Reaction score
- 86
I will try to create a shorter version... MUI and MPI...(I hope) Anyway I'll just try... I'll post later if I was able to create it...
Well the one I posted is MUI...
BackSTab Reinvented
Events
Unit - A unit Is attacked
Conditions
(Level of [B]BackStab[/B] for (Attacking unit)) Greater than 0
((Attacked unit) is A structure) Equal to False
Actions
Set Angle = (Integer(((Facing of (Attacked unit)) - (Facing of (Attacking unit)))))
For each (Integer A) from 120 to 240, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Angle + 180) Equal to (Integer A)
Then - Actions
Special Effect - Create a special effect attached to the chest of (Attacked unit) using [I]Objects\Spawnmodels\Human\HumanBlood\HeroBloodElfBlood.mdl[/I]
Set Integer = (Integer + 1)
Set SFX[Integer] = (Last created special effect)
Unit - Cause (Attacking unit) to damage (Attacked unit), dealing ((Real((Level of [B]BackStab[/B] for (Attacking unit)))) x (0.25 x (Real((Agility of (Attacking unit) (Include bonuses)))))) damage of attack type Spells and damage type Normal
Else - Actions
Remove FX
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
For each (Integer A) from 1 to Integer, do (Actions)
Loop - Actions
Special Effect - Destroy SFX[(Integer A)]
Set Integer = 0
Permanent Invisibility is a default wc3 ability.
You need to trigger the others.
Blink Strike is the most basic, just use "move unit instantly to target position" and Unit - damage unit. Base it on channel or something.
Backstab is a bit more advanced, need to compare facing angles of both the units.
Smoke screen, not sure about this one, it creates a dummy unit with the cloud model, silence and curse are cast on units wihin it.