mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 18:07:16 +00:00
Implemented Raid OOC Regen
This commit is contained in:
1 parent
cfd6364999
commit
1ba4b6fc31
10 files changed
+47
-7
No files matched your search
@@ -9140,7 +9140,8 @@ bool Client::FinishConnState2(DBAsyncWork* dbaw) {
|
||||
|
||||
m_pp.timeentitledonaccount = database.GetTotalTimeEntitledOnAccount(AccountID()) / 1440;
|
||||
|
||||
if(m_pp.RestTimer > RuleI(Character, RestRegenTimeToActivate))
|
||||
// Reset rest timer if the durations have been lowered in the database
|
||||
if ((m_pp.RestTimer > RuleI(Character, RestRegenTimeToActivate)) && (m_pp.RestTimer > RuleI(Character, RestRegenRaidTimeToActivate)))
|
||||
m_pp.RestTimer = 0;
|
||||
|
||||
//This checksum should disappear once dynamic structs are in... each struct strategy will do it
|
||||
|
||||
Reference in new issue
Block a user