fix: Moves many EventSinks out of core. (#1783)
This commit is contained in:
parent
1cb798d807
commit
00908d030f
45 changed files with 133 additions and 276 deletions
|
|
@ -62,11 +62,6 @@ namespace Server.Spells.Ninjitsu
|
|||
new(typeof(Reptalon), 1075202, 11669, 0, 1075222, 90.0, 0x114, 0, 0, false, false)
|
||||
};
|
||||
|
||||
public static void Initialize()
|
||||
{
|
||||
EventSink.Login += OnLogin;
|
||||
}
|
||||
|
||||
public static void OnLogin(Mobile m)
|
||||
{
|
||||
if (GetContext(m)?.SpeedBoost == true)
|
||||
|
|
|
|||
|
|
@ -27,11 +27,6 @@ namespace Server.Spells.Spellweaving
|
|||
public virtual int SwingSpeedBonus => 10 + FocusLevel;
|
||||
public virtual int SpellDamageBonus => 10 + FocusLevel;
|
||||
|
||||
public static void Initialize()
|
||||
{
|
||||
EventSink.Login += OnLogin;
|
||||
}
|
||||
|
||||
public static void OnLogin(Mobile m)
|
||||
{
|
||||
var context = TransformationSpellHelper.GetContext(m);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue