EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   OOC Regen for bots and players (https://www.eqemulator.org/forums/showthread.php?t=43178)

theoneptd 02-06-2021 02:00 PM

OOC Regen for bots and players
 
Pretty much gave up trying to decipher the convoluted explanation of the rule values.

I simply want OOC regen for both bots and players to be fast. I am looking for bots and players to be full health / mana in 30 seconds. I'm sorry, I can't have people sitting around for 5-10 minutes waiting on mana.

Is there anyone out there that actually can explain the rule values to accomplish this. Nothing I have read so far gives any help.

Huppy 02-06-2021 04:58 PM

For player regen, try the zone table:
fast_regen_hp fast_regen_mana fast_regen_endurance

In rule_values (for bot mana regen) a lower value (like 1.0) is faster than 3.0

demonstar55 02-07-2021 01:55 PM

there aren't really rules that dictate how fast once you start fast regening.

The default zone data is 180, this is 180 seconds to regen to full. If you want it to take 30 seconds, set this to 30. (At least I think that's what it was when I was figuring this out) You probably also want to lower Character:RestRegenRaidTimeToActivate and Character:RestRegenTimeToActivate

Code:

UPDATE zone SET fast_regen_hp = 30, fast_regen_mana = 30, fast_regen_endurance = 30;
Run that SQL, should change them all to 30.


All times are GMT -4. The time now is 05:28 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.