39 lines
967 B
C#
39 lines
967 B
C#
using System;
|
|
using Server;
|
|
using Server.Spells;
|
|
|
|
namespace Server.ACC.CSS.Systems.Ancient
|
|
{
|
|
public abstract class AncientSpell : CSpell
|
|
{
|
|
public AncientSpell( Mobile caster, Item scroll, SpellInfo info ) : base( caster, scroll, info )
|
|
{
|
|
}
|
|
|
|
public abstract SpellCircle Circle { get; }
|
|
|
|
public override TimeSpan CastDelayBase { get { return TimeSpan.FromSeconds(3 * CastDelaySecondsPerTick); } }
|
|
public override SkillName CastSkill { get { return SkillName.Magery; } }
|
|
public override SkillName DamageSkill { get { return SkillName.EvalInt; } }
|
|
|
|
public override bool ClearHandsOnCast { get { return true; } }
|
|
|
|
public override void GetCastSkills( out double min, out double max )
|
|
{
|
|
min = RequiredSkill;
|
|
max = RequiredSkill;
|
|
}
|
|
|
|
public override int GetMana()
|
|
{
|
|
return RequiredMana;
|
|
}
|
|
|
|
public override TimeSpan GetCastDelay()
|
|
{
|
|
return TimeSpan.FromSeconds( CastDelay );
|
|
}
|
|
}
|
|
}
|
|
|