Core/Scripts: Start work on cleaning up scripts.

This commit is contained in:
hondacrx
2021-03-04 15:30:56 -05:00
parent cfca764568
commit 9318cf2781
15 changed files with 2998 additions and 2137 deletions
+2 -2
View File
@@ -326,7 +326,7 @@ namespace Scripts.Spells.Holiday
Unit caster = GetCaster();
Unit target = GetHitUnit();
uint spellId = 0;
uint spellId;
bool female = target.GetGender() == Gender.Female;
switch (GetSpellInfo().Id)
@@ -386,7 +386,7 @@ namespace Scripts.Spells.Holiday
OnEffectPeriodic.Add(new EffectPeriodicHandler(HandleTriggerSpell, 2, AuraType.PeriodicTriggerSpell));
}
uint _triggeredSpellId;
readonly uint _triggeredSpellId;
bool _handled;
}