Whats wong ? when i compile i get a error Saying
error:attack :duplicate definition
error:attack :previous definition
Can you help please ? thank you
____________________________________________________________
proc/attack(mob/M)
var/damage = rand(1,strength)
M.HP -= damage
view(src) << "[src] attacks [M]!"
view(src) << "[damage] damage!"
M.Death()
____________________________________________________________
verb
attack(mob/M in oview(1))
var/damage = rand(1,strength
usr << "You attack [M]!"
usr << "[damage] damage!"
M << "[usr] attacks you!"
M << "[damage] damage!"
M.HP -= damage
M.Death()
ID:148539
![]() Jan 4 2003, 5:23 pm
|
|
![]() Jan 4 2003, 5:25 pm
|
|
I dont have time to help you at the moment, but for future reference, make the title of the post describe the problem, and dont put it in all caps, this pisses people off. This would normally piss me off to, but your knew so this is your warning.
|
Then which one is it supposed to follow? A verb is just a proc that is placed onto the verb panel. By defining it twice, you confuse the poor old computer. Shame on you!
|