mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 01:27:20 +00:00
Actually remove expendable AAs from the DB
This commit is contained in:
1 parent
e5746c3b2e
commit
e86d11250b
3 files changed
+10
No files matched your search
@@ -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