I want to make it so you can't move your character while attacking. What do I do and where do I put it?
verb
Attack(mob/M in oview(1))
var/damage = rand(1,strength)
usr << "You attack [M]!"
usr << "[damage] damage!" //Same here
M << "[usr] attacks you!"
M << "[damage] damage!"
M.HP -= damage
usr << "[M] attacks you!"
var/mdamage = rand(1,M.strength)
usr << "[mdamage] damage!"
M << "You attack!"
M << "[mdamage] damage!"
HP -= mdamage
M.Death()
ID:178628
Apr 22 2002, 8:20 pm
|
|
In response to Rcet
|
|
when I add the code and the library it sez:
frogworld.dm:93:error: proc definition not allowed inside another proc and points to this code: var/damage = rand(1,strength) What should I do? |
In response to Likwiddraino000
|
|
Any ideas on why I can't get the Rcet easy movement library to work?
|
-Rcet