Core/Refactor: Part 1

This commit is contained in:
hondacrx
2018-05-07 18:56:09 -04:00
parent b2c1554065
commit 216db1c23a
83 changed files with 298 additions and 296 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;
});
}
+1 -1
View File
@@ -182,7 +182,7 @@ namespace Scripts.Spells.Shaman
AfterCast.Add(new CastHandler(TriggerCleaveBuff));
}
int _targetsHit = 0;
int _targetsHit;
}
[Script] // 204288 - Earth Shield
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -697,7 +697,7 @@ namespace Scripts.Spells.Warrior
AfterCast.Add(new CastHandler(HandleAfterCast));
}
uint _targetCount = 0;
uint _targetCount;
}
[Script] // 107570 - Storm Bolt