ID:167534
 
mob/Skills/verb/Mana_Drill(mob/m in oview(1))
set category = "Combat"
if(src.MP >= 20)
src.MP -= 20
var/damage = 20 + src.ManaP/2
m.HP -= damage
usr << " You hit [m] for [damage]."
if(m.HP <= 0)
m.Death()
src << " You killed [m]."
else
return
else
usr << "Not enough mana"

------------------------------------------------------------
mob
verb
Kick(mob/m in oview(1))
set category = "Combat"
oview(3) << "Haa!!"
var/damage = src.str + src.spd - m.def
if(damage < 0)
m.HP -= damage
usr << " You hit [m] for [damage]."
if(m.HP <= 0)
m.Death()
src << " You killed [m]."
else
return
else
damage = 0
src << "You couldn't scratch [m], thier defenses are to strong"

how do i make these so when there used there only used in one dirrection
Change oview...

mob/Skills/verb/Mana_Drill(mob/m in get_step(usr, usr.dir))


EDIT: Fixed my silly mistake
In response to Bobthehobo
mob/Skills/verb/Mana_Drill(mob/m in get_step(usr, usr.dir))


usr.dir is for direction not places.
In response to Bobthehobo
Urm. No. You have to use get_step, and get_dist