Author Topic: Need a Bleed System  (Read 540 times)

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Need a Bleed System
« Reply #15 on: August 12, 2012, 04:12:40 pm »


               @ henesua:  I think he is looking for some that will make the creature change targets.   i.e.  stop beating the downwd guy to a pulp is another enemy is still running around or beatting his friends to a pulp.  Attack the guy who is a threat, not the one on the ground.   It will also give party members a chance to give first aid to the guy on the ground before he bleeds to death.
               
               

               
            

Legacy_Pstemarie

  • Hero Member
  • *****
  • Posts: 4368
  • Karma: +0/-0
Need a Bleed System
« Reply #16 on: August 12, 2012, 07:50:52 pm »


               I'm looking to do the following...

1. If Hostile's current enemy goes down (dying), stop pulping him
2. If another enemy is in perception range of OR in combat with Hostile, then attack that enemy
3. If no enemies remaining, Hostile loots nearest dying PC
               
               

               
            

Legacy_Pstemarie

  • Hero Member
  • *****
  • Posts: 4368
  • Karma: +0/-0
Need a Bleed System
« Reply #17 on: August 13, 2012, 01:59:31 am »


               Got it working - thanks for the input guys...

Its basically Tom's system but with some fundamental changes:

1. The bleed damage no longer heals once you stabilize - you remain at whatever hp you were at when stabilization occurred.

2. I changed the method used to determine if a dying PC stabilized - the chance of stabilization is now a fixed 10% chance per round (as per the PHB).

3. Enemies will now loot either gold or a random inventory item (including items that are not equipped). Items in the creature inventory slots are ignored. Looters will loot gold 50% of the time and an item the remaining 50% of the time. Looters will not loot a cursed or plot item. Only creatures flagged with the variable NWR_FLAG_LOOTER, humans, humanoids, or rogues will loot a dying PC.

The code is here for anyone that wants to see it...

http://pastebin.com/V9jVydu9

The next step will be to exclude certain creatures like ghouls, ghasts, etc. from the loop that prevents a creature dealing the coup-de-grace. These creatures will continue to attack a dying creature even if enemy threats are nearby.

':devil:'
               
               

               


                     Modifié par Pstemarie, 13 août 2012 - 01:05 .
                     
                  


            

Legacy_Failed.Bard

  • Hero Member
  • *****
  • Posts: 1409
  • Karma: +0/-0
Need a Bleed System
« Reply #18 on: August 13, 2012, 02:17:36 am »


               I have my flesh eating undead set to start eating a PC at both death and dying events.  Obviously, that doesn't fit every server, but it's something to keep in mind for them, even if you just have it do an extra point of damage per "bite" to the bleeding character.