I'm working on some bleed code (modified from a snippet), and something 
interesting happens. They...don't die!
I have tried a few things, and they don't work. Here is what I have right now:

========
if ( !IS_NPC(ch))
     {
     if (ch->race == race_lookup("dwarf") || ch->race == race_lookup
         ("giant"))
        {
            if ( ch->pcdata->condition[COND_BLEEDING] > 5 &&
                        ch->pcdata->condition[COND_BLEEDING] < 11 )
              {
                     send_to_char("You are {rbleeding{x!\n\r",ch);
                      ch->hit = ch->hit - 10;
                  if (ch->hit < 1)
                  {
                   ch->position = POS_DEAD;
                  }
-----snip

That doesn't kill them. I've tried looking around in the code to find where a 
player dies and I can't really pin point it down, so I am looking for some 
suggestions on where to look, or something else.
Thanks

Reply via email to