mob/proc
Basic_Combat_Hit(Attack_Number)
for(var/mob/M in get_step(src,src.dir))
if(M==src)return
src.exp_tai+= rand(3,5)
src.Level_Up()
M.Recieve_Physical_Damage(src,src.Taijutsu*src.Tai_Boost,M.Vitality*M.Vitality_Boost,0.5,Attack_Number,"Punch")
return
Problem description:
The problem here is, when i stand next to another player/mob the for(var/mob/M in get_step(src,src.dir)) proc isn't always called. i have to stand in a certain position, or on exactly the same pixel location as the other player i believe. i know it has to do with pixel movement and the platforming system I am using, but doesn't anyone know a better way to do this or whatever may help?