• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

How make a critical damage by attack in back.

Status
Not open for further replies.
Level 7
Joined
May 29, 2011
Messages
237
Thats something difference then cast a spell in back direction(my last thread). But now i need a trigger, which allow a specific unit to do deals more damage by attacking enemy units in back.

Note: I need a tolerance of +/-45 degrees.

Thank you for help.
 
Level 4
Joined
Jul 15, 2012
Messages
89
if you mean like backstab ability which rikimaru has then you can use theese conditions (event is:a unit is attacked)
  • BackstAB
  • boolean-attacking unit has ability of type Backstab
  • integer-facing angle of attacking unit-facing angle of attacked unit is more than -30
  • integer-facing angle of attacking unit-facing angle of attacked unit is less than 30
IF YOU DIDNT UNDERSTAND I CAN EXPLAIN MORE
 
Status
Not open for further replies.
Top