ID:159297
 
how do you make this ?
theres a skill called :Assassinate (its a melee/punching skill, meaning that u need to be beside ur enemy by 0tiles) then when u use the skill, you damage the enemy for 1-5 and then you teleport at the enemy's back . like when ur facing each other, then u use assassinate, you teleport at the back of the enemy
Example:
(YOU) > < (Enemy)
---you used "assassinate"---
<(Enemy) <(YOU)
Okay and...?

Oh? You want to know how to do this? Why didn't you say so.

You can use get_step() and turn() the dir M is facing by 180 degrees so you know what direction is opposite of M.
In response to GhostAnime
GhostAnime wrote:
Okay and...?

Oh? You want to know how to do this? Why didn't you say so.


lol sorry, forgot to write that xD
mob     
verb
Assasssinate()
if( !busy)

var/mob/target=locate(/mob) in get_step(src,dir)
if(target)

if( Move( get_step(target, turn(target.dir,180) ) ) )
dir=target.dir
src << "You assassinate [target.name]."