Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 06-03-2006, 04:16 PM
Nargan
Fire Beetle
 
Join Date: May 2006
Posts: 3
Question no npc hp regen

Just curious how would one go about making it so NPC's can not regen their hp during a fight?

Would I have to modify something in the npc database table or is there something i have to change in a c++ file?

-Nargan
Reply With Quote
  #2  
Old 06-04-2006, 04:26 PM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

Check your npc_types table in the database. There is a field for both hp regen and mana regen.
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
Reply With Quote
  #3  
Old 06-05-2006, 04:49 AM
Nargan
Fire Beetle
 
Join Date: May 2006
Posts: 3
Default

Okay thx, i looked around and found this in one of the forums incase anyone else wants to turn off mob hp regen.

"
7) hp, hp_regen_rate, mana regen_rate

hp : it's the hit points of the npc
hp_regen_rate : it is the number of hp it regens by ticks
0 makes a npc to not regen its hit points
mana_regen_rate : same but for mana

be carefull, npcs with an insane hp regen can be impossible to kill "

http://eqemulator.net/forums/showthr...ighlight=regen

i'm going to test it out, but i've looked at the data base and most of the mobs are already at 0 and they still regen crazy hit points. Makes leveling tough at lower levels. Anyone know the source file that has all the hp regen code. I would like to poke around and see if i can turn all mob hp regen off. Even if they are out of combat.

Last edited by Nargan; 06-05-2006 at 01:04 PM..
Reply With Quote
  #4  
Old 06-06-2006, 02:44 PM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

Regen rates at a value of 0 might cause the server to make an intelligent attempt at determining its regen rate. Set the regen rates to 1. For any level after 5, a 1 hp/tick regen should not make a mob any harder to killl than having no regen.

Also, before you dismiss this as being a server problem, be sure your mobs don't have any (1) regen buffs cast on them by nearby mobs, and (2) don't have any equipment in their loot tables that is a worn regen buff (ie fungi tunics and the like). Mobs tend to equip any pieces of armor that exist in their loot tables.
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
Reply With Quote
  #5  
Old 06-07-2006, 02:45 AM
Nargan
Fire Beetle
 
Join Date: May 2006
Posts: 3
Default

Quote:
Originally Posted by RangerDown
Regen rates at a value of 0 might cause the server to make an intelligent attempt at determining its regen rate.
Okay that explains why the lvl 1 to 4 mobs in the nub area were gaing 1/3 their hp ever tick when I set it to 0.

As for the items and buffs, I didn't know they would eqip items they have in their inv.

Thx
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:18 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3