Adds assemblies config, fixes crash bugs. (#134)
This commit is contained in:
parent
0140eb73b4
commit
8ec166bcd0
3223 changed files with 191 additions and 191 deletions
|
|
@ -1,55 +0,0 @@
|
|||
using System;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Spells.Spellweaving
|
||||
{
|
||||
public class ReaperFormSpell : ArcaneForm
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new SpellInfo("Reaper Form", "Tarisstree", -1);
|
||||
|
||||
public ReaperFormSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
{
|
||||
}
|
||||
|
||||
public override TimeSpan CastDelayBase => TimeSpan.FromSeconds(2.5);
|
||||
|
||||
public override double RequiredSkill => 24.0;
|
||||
public override int RequiredMana => 34;
|
||||
|
||||
public override int Body => 0x11D;
|
||||
|
||||
public override int FireResistOffset => -25;
|
||||
public override int PhysResistOffset => 5 + FocusLevel;
|
||||
public override int ColdResistOffset => 5 + FocusLevel;
|
||||
public override int PoisResistOffset => 5 + FocusLevel;
|
||||
public override int NrgyResistOffset => 5 + FocusLevel;
|
||||
|
||||
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)
|
||||
{
|
||||
TransformContext context = TransformationSpellHelper.GetContext(m);
|
||||
|
||||
if (context?.Type == typeof(ReaperFormSpell))
|
||||
m.Send(SpeedControl.WalkSpeed);
|
||||
}
|
||||
|
||||
public override void DoEffect(Mobile m)
|
||||
{
|
||||
m.PlaySound(0x1BA);
|
||||
|
||||
m.Send(SpeedControl.WalkSpeed);
|
||||
}
|
||||
|
||||
public override void RemoveEffect(Mobile m)
|
||||
{
|
||||
m.Send(SpeedControl.Disable);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue