diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellAuras.cpp | 2 | ||||
-rw-r--r-- | src/game/Unit.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index d90389bdd0e..6d446896b67 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -6639,7 +6639,7 @@ void AuraEffect::PeriodicDummyTick() std::list<Unit*> targets; { // eff_radius ==0 - float radius = GetSpellMaxRange(sSpellRangeStore.LookupEntry(spell->rangeIndex)); + float radius = GetSpellMaxRange(spell, false); CellPair p(MaNGOS::ComputeCellPair(caster->GetPositionX(),caster->GetPositionY())); Cell cell(p); diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 20c0aea62cc..848fff13113 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -5496,8 +5496,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger target = GetGuardianPet(); if (!target) return false; - triggered_spell_id = 54181; basepoints0 = damage * 15 / 100; + triggered_spell_id = 54181; break; } switch(dummySpell->Id) |