ID:160937
Jul 9 2008, 3:41 am
|
|
How do I add it so the monsters can attack more than just a player
|
Jul 9 2008, 3:42 am
|
|
Show us your proc/code that handles the monsters's attack.
|
In response to Andre-g1
|
|
Bump(mob/M)
if(istype(M,/mob/player)) Attacks(M) proc/Attacks(mob/M) var/damage = rand(1,str) M.HP-= damage flick("atk",src) M.Death() |
In response to Manio
|
|
Place your code on the
and tags Now tell me, what do you want to happen when monsters attack doors ? |
In response to Andre-g1
|
|
I want it so,the doors loose health and die..
Bump(mob/M) |
In response to Manio
|
|
Bump(mob/M) Mess with it to your needs, I'm pretty sure you don't want a door to die so you have to either: a) Fix your Death() b) Make a separate attack proc just for doors. |
In response to Andre-g1
|
|
It's like REO2 where the zombies can break the doors,which removes them.
It takes a couple hits to kill the doors.. |