mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-14 01:19:08 +00:00
Make battleground join / arena join / loot money session packet (#1178)
* Make battleground / arena join session packet * Loot money * Avoid aoe crash
This commit is contained in:
@@ -135,7 +135,11 @@ Aura* AreaDebuffValue::Calculate()
|
||||
for (auto i = list.begin(); i != list.end(); ++i)
|
||||
{
|
||||
AuraEffect* aurEff = *i;
|
||||
if (!aurEff)
|
||||
continue;
|
||||
Aura* aura = aurEff->GetBase();
|
||||
if (!aura)
|
||||
continue;
|
||||
AuraObjectType type = aura->GetType();
|
||||
bool isPositive = aura->GetSpellInfo()->IsPositive();
|
||||
if (type == DYNOBJ_AURA_TYPE && !isPositive)
|
||||
|
||||
Reference in New Issue
Block a user