*Fix build.
--HG-- branch : trunk
This commit is contained in:
@@ -6639,7 +6639,7 @@ void AuraEffect::PeriodicDummyTick()
|
|||||||
std::list<Unit*> targets;
|
std::list<Unit*> targets;
|
||||||
{
|
{
|
||||||
// eff_radius ==0
|
// eff_radius ==0
|
||||||
float radius = GetSpellMaxRange(sSpellRangeStore.LookupEntry(spell->rangeIndex));
|
float radius = GetSpellMaxRange(spell, false);
|
||||||
|
|
||||||
CellPair p(MaNGOS::ComputeCellPair(caster->GetPositionX(),caster->GetPositionY()));
|
CellPair p(MaNGOS::ComputeCellPair(caster->GetPositionX(),caster->GetPositionY()));
|
||||||
Cell cell(p);
|
Cell cell(p);
|
||||||
|
|||||||
+1
-1
@@ -5496,8 +5496,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
|
|||||||
target = GetGuardianPet();
|
target = GetGuardianPet();
|
||||||
if (!target)
|
if (!target)
|
||||||
return false;
|
return false;
|
||||||
triggered_spell_id = 54181;
|
|
||||||
basepoints0 = damage * 15 / 100;
|
basepoints0 = damage * 15 / 100;
|
||||||
|
triggered_spell_id = 54181;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
switch(dummySpell->Id)
|
switch(dummySpell->Id)
|
||||||
|
|||||||
Reference in New Issue
Block a user