Core/Refactor: Part 1
This commit is contained in:
@@ -167,11 +167,6 @@ namespace Scripts.Kalimdor.ZoneAshenvale
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public override void UpdateAI(uint diff)
|
||||
{
|
||||
base.UpdateAI(diff);
|
||||
}
|
||||
}
|
||||
|
||||
[Script]
|
||||
|
||||
@@ -823,7 +823,7 @@ namespace Scripts.Northrend.AzjolNerub.AzjolNerub.Nadronox
|
||||
[Script("spell_hadronox_periodic_summon_necromancer", SpellIds.SummonNecromancerTop, SpellIds.SummonNecromancerBottom)]
|
||||
class spell_hadronox_periodic_summon_template : AuraScript
|
||||
{
|
||||
public spell_hadronox_periodic_summon_template(uint topSpellId, uint bottomSpellId) : base()
|
||||
public spell_hadronox_periodic_summon_template(uint topSpellId, uint bottomSpellId)
|
||||
{
|
||||
_topSpellId = topSpellId;
|
||||
_bottomSpellId = bottomSpellId;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1081,7 +1081,7 @@ namespace Scripts.World
|
||||
});
|
||||
}
|
||||
|
||||
uint rnd = 0;
|
||||
uint rnd;
|
||||
uint musicTime = 1000;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user