mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Actually remove expendable AAs from the DB
This commit is contained in:
@@ -1240,6 +1240,10 @@ void Mob::ExpendAlternateAdvancementCharge(uint32 aa_id) {
|
||||
CastToClient()->GetEPP().expended_aa += r->cost;
|
||||
}
|
||||
}
|
||||
if (IsClient()) {
|
||||
auto c = CastToClient();
|
||||
c->RemoveExpendedAA(ability->first_rank_id);
|
||||
}
|
||||
aa_ranks.erase(iter.first);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user