mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-02 19:30:25 +00:00
Fix calc of resuse timers on multi-rank AAs
This commit is contained in:
+2
-1
@@ -1347,7 +1347,8 @@ void Client::SendAA(uint32 id, int seq) {
|
||||
|
||||
if(value > 0)
|
||||
{
|
||||
const AA_DBAction *caa = &AA_Actions[saa->id][value - 1];
|
||||
// AA_Action stores the base ID
|
||||
const AA_DBAction *caa = &AA_Actions[saa->id - value + 1][value - 1];
|
||||
|
||||
if(caa && caa->reuse_time > 0)
|
||||
saa->spell_refresh = CalcAAReuseTimer(caa);
|
||||
|
||||
Reference in New Issue
Block a user