ID:173891
 
In my game, when you get killed by a guy, he takes half your gold and runs, and you revive in town, but since the monsters are on the map in this game, i want him to keep the gold if you somehow find him and kill him again. The monsters are on the map, but the battle is turn based. When you die, since i dont wanna kill the monster, the battle goes on...is there a way i can end the procs so the battle doesnt keep going?
if(whatever == 1)
return 1
else
keep going
In response to HendrixandCamo
My problem is, I have a monster and if it kills you, you go back to town, but the stupid battle goes on, I need it to END the proc, but if I use that, theres no var I can use to determine it to work correctly without it messing up more.
In response to Metroid
mob/var/hasdied

if(hasdied)
return
if(!hasdied)
//continue and when he dies, make hasdied = 1