Core/Refactor: Part 1
This commit is contained in:
@@ -368,7 +368,7 @@ namespace Scripts.Spells.Holiday
|
||||
[Script("spell_gen_candied_sweet_potato", SpellIds.WellFedHasteTrigger)]
|
||||
class spell_pilgrims_bounty_buff_food : AuraScript
|
||||
{
|
||||
public spell_pilgrims_bounty_buff_food(uint triggeredSpellId) : base()
|
||||
public spell_pilgrims_bounty_buff_food(uint triggeredSpellId)
|
||||
{
|
||||
_triggeredSpellId = triggeredSpellId;
|
||||
_handled = false;
|
||||
|
||||
@@ -522,7 +522,7 @@ namespace Scripts.Spells.Mage
|
||||
if (!unit)
|
||||
return true;
|
||||
|
||||
return unit.HasAura(SpellIds.RingOfFrostDummy) || unit.HasAura(SpellIds.RingOfFrostFreeze) || unit.GetExactDist(GetExplTargetDest()) > outRadius || unit.GetExactDist(GetExplTargetDest()) < inRadius;
|
||||
return unit.HasAura(SpellIds.RingOfFrostDummy) || unit.HasAura(SpellIds.RingOfFrostFreeze) || unit.GetExactDist(dest) > outRadius || unit.GetExactDist(dest) < inRadius;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -182,7 +182,7 @@ namespace Scripts.Spells.Shaman
|
||||
AfterCast.Add(new CastHandler(TriggerCleaveBuff));
|
||||
}
|
||||
|
||||
int _targetsHit = 0;
|
||||
int _targetsHit;
|
||||
}
|
||||
|
||||
[Script] // 204288 - Earth Shield
|
||||
|
||||
@@ -831,7 +831,7 @@ namespace Scripts.Spells.Warlock
|
||||
|
||||
|
||||
List<uint> _dotList = new List<uint>();
|
||||
Unit _swapCaster = null;
|
||||
Unit _swapCaster;
|
||||
}
|
||||
|
||||
[Script] //! Soul Swap Copy Spells - 92795 - Simply copies spell IDs.
|
||||
|
||||
@@ -697,7 +697,7 @@ namespace Scripts.Spells.Warrior
|
||||
AfterCast.Add(new CastHandler(HandleAfterCast));
|
||||
}
|
||||
|
||||
uint _targetCount = 0;
|
||||
uint _targetCount;
|
||||
}
|
||||
|
||||
[Script] // 107570 - Storm Bolt
|
||||
|
||||
Reference in New Issue
Block a user