43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
using System;
|
|
using Server;
|
|
using Server.Spells;
|
|
|
|
namespace Server.ACC.CSS.Systems.Rogue
|
|
{
|
|
public abstract class RogueSpell : CSpell
|
|
{
|
|
public RogueSpell(Mobile caster, Item scroll, SpellInfo info)
|
|
: base(caster, scroll, info)
|
|
{
|
|
}
|
|
|
|
public abstract SpellCircle Circle { get; }
|
|
|
|
public override SkillName CastSkill { get { return SkillName.Stealing; } }
|
|
public override SkillName DamageSkill { get { return SkillName.Hiding; } }
|
|
public override TimeSpan CastDelayBase { get { return TimeSpan.FromSeconds(3 * CastDelaySecondsPerTick); } }
|
|
public override bool ClearHandsOnCast { get { return false; } }
|
|
|
|
public override void GetCastSkills(out double min, out double max)
|
|
{
|
|
min = RequiredSkill;
|
|
max = RequiredSkill;
|
|
}
|
|
|
|
public override int GetMana()
|
|
{
|
|
return RequiredMana;
|
|
}
|
|
|
|
public override bool ConsumeReagents()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public override TimeSpan GetCastDelay()
|
|
{
|
|
return TimeSpan.FromSeconds(CastDelay);
|
|
}
|
|
}
|
|
}
|