On Tue, 23 Apr 1996, Marcelo Valle Moreira wrote: > biting someone you do a damage, and I'd like to add it to your hit points, like this: > GET_HIT(ch) = GET_HIT(ch) + damage > > So if your bite damages someone in 90 hitpoints, you gain 90 hitpoints, not in maxhit, but in hit. A word to the wise (from the experienced) If you make vamps able to bite, you may want to restrict them. For example, make them only able to bite at night, and maybe after they bite, set a flag on them that prohibits them from biting until the next nighttime. You could just put a line of code into the weather procedures that removes the flag when darkness falls if it is set on the player. The reason is that if you don't do this, players will gain huge amounts of hit. Before we retricted bite, we had level 15 - 20 vampires soloing level 40 - 50 mobs. Wee had one guy get to level 35 out of 60 in less than 2 hours of playing time. BE CAREFUL! Maybe also limit how much they can gain based on level. :-) -Brian
This archive was generated by hypermail 2b30 : 12/18/00 PST