From f634ee27483ac52e2c864848f21ba96f759128ca Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Sun, 19 Dec 2021 19:58:59 -0800 Subject: [PATCH] fix: Changes spells so they register during configuration (#889) --- Projects/UOContent/Spells/Initializer.cs | 28 ++++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Projects/UOContent/Spells/Initializer.cs b/Projects/UOContent/Spells/Initializer.cs index 7fa5657d8..418e81da7 100644 --- a/Projects/UOContent/Spells/Initializer.cs +++ b/Projects/UOContent/Spells/Initializer.cs @@ -18,7 +18,7 @@ namespace Server.Spells { public static class Initializer { - public static void Initialize() + public static void Configure() { // First circle Register(00, typeof(ClumsySpell)); @@ -169,34 +169,34 @@ namespace Server.Spells Register(606, typeof(SummonFeySpell)); Register(607, typeof(SummonFiendSpell)); Register(608, typeof(ReaperFormSpell)); - // Register( 609, typeof( Spellweaving.WildfireSpell ) ); + // Register(609, typeof(WildfireSpell)); Register(610, typeof(EssenceOfWindSpell)); - // Register( 611, typeof( Spellweaving.DryadAllureSpell ) ); + // Register(611, typeof(DryadAllureSpell)); Register(612, typeof(EtherealVoyageSpell)); Register(613, typeof(WordOfDeathSpell)); Register(614, typeof(GiftOfLifeSpell)); - // Register( 615, typeof( Spellweaving.ArcaneEmpowermentSpell ) ); + // Register(615, typeof(ArcaneEmpowermentSpell)); } if (Core.SA) { // Mysticism spells - // Register( 677, typeof( Mysticism.NetherBoltSpell ) ); - // Register( 678, typeof( Mysticism.HealingStoneSpell ) ); - // Register( 679, typeof( Mysticism.PurgeMagicSpell ) ); - // Register( 680, typeof( Mysticism.EnchantSpell ) ); - // Register( 681, typeof( Mysticism.SleepSpell ) ); + // Register(677, typeof(NetherBoltSpell)); + // Register(678, typeof(HealingStoneSpell)); + // Register(679, typeof(PurgeMagicSpell)); + // Register(680, typeof(EnchantSpell)); + // Register(681, typeof(SleepSpell)); Register(682, typeof(EagleStrikeSpell)); Register(683, typeof(AnimatedWeaponSpell)); Register(684, typeof(StoneFormSpell)); - // Register( 685, typeof( Mysticism.SpellTriggerSpell ) ); - // Register( 686, typeof( Mysticism.MassSleepSpell ) ); - // Register( 687, typeof( Mysticism.CleansingWindsSpell ) ); - // Register( 688, typeof( Mysticism.BombardSpell ) ); + // Register(685, typeof(SpellTriggerSpell)); + // Register(686, typeof(MassSleepSpell)); + // Register(687, typeof(CleansingWindsSpell)); + // Register(688, typeof(BombardSpell)); Register(689, typeof(SpellPlagueSpell)); Register(690, typeof(HailStormSpell)); Register(691, typeof(NetherCycloneSpell)); - // Register( 692, typeof( Mysticism.RisingColossusSpell ) ); + // Register(692, typeof(RisingColossusSpell)); } } }