fix: Changes spells so they register during configuration (#889)

This commit is contained in:
Kamron Batman 2021-12-19 19:58:59 -08:00 • committed by GitHub
parent b125146b27
commit f634ee2748
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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));
}
}
}