mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
Fix calc of resuse timers on multi-rank AAs
This commit is contained in:
parent
b14519b1f5
commit
07950b7a58
@ -1347,7 +1347,8 @@ void Client::SendAA(uint32 id, int seq) {
|
|||||||
|
|
||||||
if(value > 0)
|
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)
|
if(caa && caa->reuse_time > 0)
|
||||||
saa->spell_refresh = CalcAAReuseTimer(caa);
|
saa->spell_refresh = CalcAAReuseTimer(caa);
|
||||||
@ -1965,4 +1966,4 @@ AA_SwarmPetInfo::~AA_SwarmPetInfo()
|
|||||||
Mob *AA_SwarmPetInfo::GetOwner()
|
Mob *AA_SwarmPetInfo::GetOwner()
|
||||||
{
|
{
|
||||||
return entity_list.GetMobID(owner_id);
|
return entity_list.GetMobID(owner_id);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user