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 |
Check your npc_types table in the database. There is a field for both hp regen and mana regen.
|
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. |
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. |
Quote:
As for the items and buffs, I didn't know they would eqip items they have in their inv. Thx |
All times are GMT -4. The time now is 05:18 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.