mob/deidara/var/tmp/can_move_time = 0
mob/deidara/proc/Move()
if(world.time < src.can_move_time) return 0
. = ..()
if(.)
src.can_move_time = world.time + 3
Attack()
usr.can_move_time = world.time + 10
flick("Attack",src)
for(var/mob/character/m in get_step(src, dir))
world << m
var/Damage=max(0,src.Str-m.Def)
flick("Hit",m)
step(m,WEST)
step(m,m.dir)
step(m,WEST)
m.dir=EAST
Bump()
m.KnockBack(10)
view(m)<<"[src] hit [m] for [Damage] Damage!"
m.Deathcheck()
Problem description:
this was a case specific example i was given in another post, and im still trying to figure out why the move proc is overridden by another one, when the only move proc in my project is the built in one. when i tried to make "mob/deidara/proc/move(" i get the error that :Main.dm:80:error: Move:
duplicate definition (conflicts with built-in proc)
but if i try and do it with just mob in general, it doesnt work for my project since my project is divided into classes and each mob can move differently...
mob/deidara/proc/Move()
Should be