Cleanup some warnings.

This commit is contained in:
hondacrx
2021-11-15 16:11:20 -05:00
parent e0f344af25
commit 032f9a55f3
70 changed files with 233 additions and 234 deletions
+2 -2
View File
@@ -524,7 +524,7 @@ namespace Scripts.Spells.Mage
[Script] // Ice Lance - 30455
class spell_mage_ice_lance : SpellScript
{
List<ObjectGuid> _orderedTargets = new List<ObjectGuid>();
List<ObjectGuid> _orderedTargets = new();
public override bool Validate(SpellInfo spellInfo)
{
@@ -788,7 +788,7 @@ namespace Scripts.Spells.Mage
void Apply(AuraEffect aurEff, AuraEffectHandleModes mode)
{
List<TempSummon> minions = new List<TempSummon>();
List<TempSummon> minions = new();
GetTarget().GetAllMinionsByEntry(minions, (uint)Global.SpellMgr.GetSpellInfo(SpellIds.RingOfFrostSummon, GetCastDifficulty()).GetEffect(0).MiscValue);
// Get the last summoned RoF, save it and despawn older ones