Attack(mob/A as mob/enemy in oview(1))
damage = src.attack - A.defense
if(damage > 0)
A.health -= damage
src << "You hit [A] for [damage] damage."
A.enemydeath()
else
src << "You hit [A] for absolutely no damage!"
Problem description:
error: input type (mob/enemy) must be atomic (area, turf, obj, or mob).
Isn't mob/enemy a mob and are not mobs atomic?