I think this is the only spot in code with this issue, but there might be more.
zone/client.cpp
Code:
if (GetHP() <= 0) {
if (GetMaxHP() > 30000)
m_pp.cur_hp = 30000;
else
m_pp.cur_hp = GetMaxHP();
}
else if (GetHP() > 30000)
m_pp.cur_hp = 30000;
else
m_pp.cur_hp = GetHP();
m_pp.mana = cur_mana;
m_pp.endurance = cur_end;
just need to remove the
Code:
else if (GetHP() > 30000)
m_pp.cur_hp = 30000;
and clients will no longer zone into zones with 30k health if they have more than 30k health to begin with. currently if you have some crazy number (i'm lookin at you EZ server) and zone, your HP resets to 30k on zoning in and regens upwards, but as soon as you zone, it resets to 30k.