ID:150440
 
heres my attack verb code.....

mob/verb/Attack(mob/M in oview(1))
var/damage=usr.Strength
M.Health-=damage
usr.Exp+=20
usr.PowerLevel+=30
usr.MaxPL+=30
if(M.Health<=0)
M.Health=M.MaxHealth
M.loc=locate(1,4,4)
M<<"You have been killed by [usr]"
usr<<"You have killed [M]"
if(istype(M,/mob/saiba))
if(Health<=0)
M.loc=locate(1,1,5)

z4 being snake way and z5 being hell, i just need to know why the siabaman are still going to snake way when they die......anyone please help? ah stupid html in my code made it red please diregard that.
are you sure that z5 is hell you better double check
In response to BurningIce
yes i just checked it is hell.
In response to Jotdaniel
hmm is your default death place snake way?
Jotdaniel wrote:
heres my attack verb code.....

mob/verb/Attack(mob/M in oview(1))
var/damage=usr.Strength
M.Health-=damage
usr.Exp+=20
usr.PowerLevel+=30
usr.MaxPL+=30
if(M.Health<=0)
M.Health=M.MaxHealth
M.loc=locate(1,4,4)
M<<"<font color=red>You have been killed by [usr]"
usr<<"<font color=red>
You have killed [M]"
if(istype(M,/mob/saiba))
M.loc=locate(1,1,5)</font></font>
z4 being snake way and z5 being hell, i just need to know why the siabaman are still going to snake way when they die......anyone please help? ah stupid html in my code made it red please diregard that.

There the code that I put there will work just don't copy paste it ( I edited what you had ).
and to close a html tag put
</font>
In response to Nadrew
i use that exactly and it gives me invalid expresion for the line

if(istype(M,/mob/saiba))
M.loc=locate(1,1,5)

it wont let me use the if inside of the other if
for some reason.....
In response to BurningIce
yeah it is
In response to Jotdaniel