This commit is contained in:
mark 2009-05-16 20:07:15 +00:00
parent 2c723b90fc
commit 3dcaed01ba
9 changed files with 153 additions and 57 deletions

View file

@ -85,11 +85,13 @@ namespace Server.Spells.Chivalry
StrangleSpell.RemoveCurse( m );
CorpseSkinSpell.RemoveCurse( m );
CurseSpell.RemoveEffect( m );
MortalStrike.EndWound( m );
BuffInfo.RemoveBuff( m, BuffIcon.Clumsy );
BuffInfo.RemoveBuff( m, BuffIcon.FeebleMind );
BuffInfo.RemoveBuff( m, BuffIcon.Weaken );
BuffInfo.RemoveBuff( m, BuffIcon.MassCurse );
BuffInfo.RemoveBuff( m, BuffIcon.MortalStrike );
// TODO: Should this remove blood oath? Pain spike?
}

View file

@ -1,5 +1,6 @@
using System;
using Server;
using Server.Items;
namespace Server.Spells.Necromancy
{
@ -36,6 +37,17 @@ namespace Server.Spells.Necromancy
max = RequiredSkill + 40.0;
}
public override bool ConsumeReagents()
{
if( base.ConsumeReagents() )
return true;
if( ArcaneGem.ConsumeCharges( Caster, (Core.SE ? 1 : 1 + (int)Circle) ) )
return true;
return false;
}
public override int GetMana()
{
return RequiredMana;

View file

@ -207,8 +207,8 @@ namespace Server.Spells.Ninjitsu
{
m_Table[m] = context;
if ( context.Type == typeof( BakeKitsune ) || context.Type == typeof( GreyWolf ) )
m.Hits += 20;
/*if ( context.Type == typeof( BakeKitsune ) || context.Type == typeof( GreyWolf ) )
m.Hits += 20;*/
}
public static void RemoveContext( Mobile m, bool resetGraphics )
@ -259,9 +259,8 @@ namespace Server.Spells.Ninjitsu
/*
private delegate void AnimalFormCallback( Mobile from );
private delegate bool AnimalFormRequirementCallback( Mobile from );
* */
public class AnimalFormEntry
*/
public class AnimalFormEntry
{
private Type m_Type;
private TextDefinition m_Name;
@ -288,8 +287,7 @@ namespace Server.Spells.Ninjitsu
private AnimalFormCallback m_TransformCallback;
private AnimalFormCallback m_UntransformCallback;
private AnimalFormRequirementCallback m_RequirementCallback;
* */
*/
public AnimalFormEntry( Type type, TextDefinition name, int itemID, int hue, int tooltip, double reqSkill, int bodyMod, bool stealthBonus, bool speedBoost )
: this( type, name, itemID, hue, tooltip, reqSkill, bodyMod, 0, stealthBonus, speedBoost )
{
@ -330,7 +328,6 @@ namespace Server.Spells.Ninjitsu
public class AnimalFormGump : Gump
{
//TODO: Convert this for ML to the BaseImageTileButtonsgump
private Mobile m_Caster;
private AnimalForm m_Spell;