PC HP and MANA regen & sitting
Is there a way for me to adjust my server so that I can tweak HP and Mana regen time for characters that are sitting?
I would like to have the ability to both lower and increase the regen times, just for curiosities sake. |
This is specifically in reference to "sitting". When standing, I want the PC's to have different regen stats than from when they where sitting.
|
I don't think there is a currently a rule for that. But, it wouldn't be hard to edit that in the source if you wanted to.
in client_process.cpp Code:
void Client::DoManaRegen() { Code:
regen *= 5; |
I'm not very good at coding, so this may sound dumb, but...
Doesn't the line "if(HasSkill(MEDITATE))" mean that a person would not only have to be sitting, but also have this skill "meditate"? Which I don't know what that is. Also, If I changed this: Code:
medding = true; Code:
medding = true; Would it have an effect on HP regen? |
That would increase regen by 20% before items and spells are taken into account. You want
Code:
regen *= 1.012 |
Doesn't the line "if(HasSkill(MEDITATE))" mean that a person would not only have to be sitting, but also have this skill "meditate"? Which I don't know what that is.
Also, does this affect HP in any way, or just mana? |
Meditate is a skill that that all casting classes get at low level (train it at your class GM trainer). Meditate is what makes you regenerate mana faster when sitting. The higher your skill in Meditate is, the faster you regen mana. You could set it to just regenerate when sitting without having meditate, but that wouldn't exactly be in line with how EQ works.
These changes don't effect HP regen, you would have to change code in DoHPRegen for that. |
All times are GMT -4. The time now is 07:26 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.