Jiskuha attacks G for 25 damage
G attacks Jiskuha for -20 damage
mob/Enemies
Click(mob/M)
if(src in view(1))
var/damage=Strength+Experience/Luck+Agility*Dexterity
view()<<"[usr] attacks [src] for [damage] damage"
src.Strength-=damage
var/edamage=src.Strength*src.Agility
view()<<"[src] attacks [usr] for [edamage] damage"
usr.Strength-=edamage
G
icon='G.dmi'
density=1
Strength=15
Agility=2
See the problem? 15*2 is 30, Why in gods name is it displaying -20?
~>Jiskuha