skillcaps and things that exceed it Possible threading issue Addition of Generic FindItemsByType - List<T> findItemsByType<T>() Change to make polymorph not have a timer and instead a toggle skill KiAttack no longer works with ranged weapons Poison strike speed and damage changed Necro spells now affected by FC Must have atleast 50 weapon skill if no shield equipped to use Evasion Stalking bonus capped at 10 + skill/10 Stalking bonus now Clears Bugfix w/Guilds Crashguard Exception message moved closer to the top of the file. Character creation of Pallys and necros using advanced skills now gives skill items Honor no longer works on Players Pre-ML area HitArea attacks nolonger require LoS Serialization fix for BladeOfTheRighteous RidingSwipe now has paralyzation immunity as with NerveStrike and ParaBlow AnkhEast renamed to AnkhNorth LeggingsOfBane no longer have 510 HP ElvenWashBasinEastAddon Fixed AnsellaGryen won't be renamed each time the server Restarts DiseasedCats are properly named Localization fixes in DefBlacksmithy BearMasks/DearMAsks and things that extend from them now can be repaired
38 lines
No EOL
1 KiB
C#
38 lines
No EOL
1 KiB
C#
using System;
|
|
using Server;
|
|
|
|
namespace Server.Spells.Necromancy
|
|
{
|
|
public abstract class NecromancerSpell : Spell
|
|
{
|
|
public abstract double RequiredSkill{ get; }
|
|
public abstract int RequiredMana{ get; }
|
|
|
|
public override SkillName CastSkill{ get{ return SkillName.Necromancy; } }
|
|
public override SkillName DamageSkill{ get{ return SkillName.SpiritSpeak; } }
|
|
|
|
public override bool ClearHandsOnCast{ get{ return false; } }
|
|
|
|
public override int CastDelayFastScalar{ get{ return (Core.SE? base.CastDelayFastScalar : 0); } } // Necromancer spells are not effected by fast cast items, though they are by fast cast recovery
|
|
|
|
public NecromancerSpell( Mobile caster, Item scroll, SpellInfo info ) : base( caster, scroll, info )
|
|
{
|
|
}
|
|
|
|
public override int ComputeKarmaAward()
|
|
{
|
|
return -(70 + (10 * (int)Circle));
|
|
}
|
|
|
|
public override void GetCastSkills( out double min, out double max )
|
|
{
|
|
min = RequiredSkill;
|
|
max = RequiredSkill + 40.0;
|
|
}
|
|
|
|
public override int GetMana()
|
|
{
|
|
return RequiredMana;
|
|
}
|
|
}
|
|
} |