Lots of fixes, changes, rewrites of various things, including but not limited to:

Logging of staff crafting items,
Fixes for the OSI client changes
The potion stacking stuff
BaseWeapon fix, so that damage increase things don't multiply themselves.
admin gump fixes for Firewall
Various display tweaks for weight
SoS no longer spawn in Tokuno
Hiryu hues happified to OSI standards
staff now see alliance chat correctly
Play barkeeper text increased per OSI
Various other OSI skill requirement changes
Various unimplemented features of the SE moves
EventSink for when the client version is received from client.
Client validation moved out of the core.
Client version validation now has options to ignore/kick/warn/annoy.  Automagically tries to detect current client.
Reverted the delayeddamagecontext back to OSI standards.
Can no longer use bags of sending in jail.

MagerySpell implemented. Now only Magery spells have a circle, and various other properties of 'em.
TransformationSpellHelper now implemented.  Things moved around for this.
Spells now need a Timespan for the cast delay, instead of arbitrarily based on Circle.  Circle doesn't make sense for non-Magery spells!
Alot of the spellweaving spells added to OSI standards.
This commit is contained in:
asayre 2007-05-26 03:12:41 +00:00
parent f12e9745c6
commit 2ad37d54aa
214 changed files with 4881 additions and 1243 deletions

View file

@ -4,17 +4,18 @@ using Server.Network;
namespace Server.Spells.First
{
public class ClumsySpell : Spell
public class ClumsySpell : MagerySpell
{
private static SpellInfo m_Info = new SpellInfo(
"Clumsy", "Uus Jux",
SpellCircle.First,
212,
9031,
Reagent.Bloodmoss,
Reagent.Nightshade
);
public override SpellCircle Circle { get { return SpellCircle.First; } }
public ClumsySpell( Mobile caster, Item scroll ) : base( caster, scroll, m_Info )
{
}

View file

@ -3,11 +3,10 @@ using Server.Items;
namespace Server.Spells.First
{
public class CreateFoodSpell : Spell
public class CreateFoodSpell : MagerySpell
{
private static SpellInfo m_Info = new SpellInfo(
"Create Food", "In Mani Ylem",
SpellCircle.First,
224,
9011,
Reagent.Garlic,
@ -15,6 +14,8 @@ namespace Server.Spells.First
Reagent.MandrakeRoot
);
public override SpellCircle Circle { get { return SpellCircle.First; } }
public CreateFoodSpell( Mobile caster, Item scroll ) : base( caster, scroll, m_Info )
{
}

View file

@ -4,17 +4,18 @@ using Server.Network;
namespace Server.Spells.First
{
public class FeeblemindSpell : Spell
public class FeeblemindSpell : MagerySpell
{
private static SpellInfo m_Info = new SpellInfo(
"Feeblemind", "Rel Wis",
SpellCircle.First,
212,
9031,
Reagent.Ginseng,
Reagent.Nightshade
);
public override SpellCircle Circle { get { return SpellCircle.First; } }
public FeeblemindSpell( Mobile caster, Item scroll ) : base( caster, scroll, m_Info )
{
}

View file

@ -6,11 +6,10 @@ using Server.Mobiles;
namespace Server.Spells.First
{
public class HealSpell : Spell
public class HealSpell : MagerySpell
{
private static SpellInfo m_Info = new SpellInfo(
"Heal", "In Mani",
SpellCircle.First,
224,
9061,
Reagent.Garlic,
@ -18,6 +17,8 @@ namespace Server.Spells.First
Reagent.SpidersSilk
);
public override SpellCircle Circle { get { return SpellCircle.First; } }
public HealSpell( Mobile caster, Item scroll ) : base( caster, scroll, m_Info )
{
}
@ -69,7 +70,8 @@ namespace Server.Spells.First
toHeal += Utility.Random( 1, 5 );
}
m.Heal( toHeal );
//m.Heal( toHeal, Caster );
SpellHelper.Heal( toHeal, m, Caster );
m.FixedParticles( 0x376A, 9, 32, 5005, EffectLayer.Waist );
m.PlaySound( 0x1F2 );

View file

@ -4,16 +4,17 @@ using Server.Network;
namespace Server.Spells.First
{
public class MagicArrowSpell : Spell
public class MagicArrowSpell : MagerySpell
{
private static SpellInfo m_Info = new SpellInfo(
"Magic Arrow", "In Por Ylem",
SpellCircle.First,
212,
9041,
Reagent.SulfurousAsh
);
public override SpellCircle Circle { get { return SpellCircle.First; } }
public MagicArrowSpell( Mobile caster, Item scroll ) : base( caster, scroll, m_Info )
{
}

View file

@ -5,17 +5,18 @@ using Server;
namespace Server.Spells.First
{
public class NightSightSpell : Spell
public class NightSightSpell : MagerySpell
{
private static SpellInfo m_Info = new SpellInfo(
"Night Sight", "In Lor",
SpellCircle.First,
236,
9031,
Reagent.SulfurousAsh,
Reagent.SpidersSilk
);
public override SpellCircle Circle { get { return SpellCircle.First; } }
public NightSightSpell( Mobile caster, Item scroll ) : base( caster, scroll, m_Info )
{
}

View file

@ -5,11 +5,10 @@ using Server.Network;
namespace Server.Spells.First
{
public class ReactiveArmorSpell : Spell
public class ReactiveArmorSpell : MagerySpell
{
private static SpellInfo m_Info = new SpellInfo(
"Reactive Armor", "Flam Sanct",
SpellCircle.First,
236,
9011,
Reagent.Garlic,
@ -17,6 +16,8 @@ namespace Server.Spells.First
Reagent.SulfurousAsh
);
public override SpellCircle Circle { get { return SpellCircle.First; } }
public ReactiveArmorSpell( Mobile caster, Item scroll ) : base( caster, scroll, m_Info )
{
}

View file

@ -4,17 +4,18 @@ using Server.Network;
namespace Server.Spells.First
{
public class WeakenSpell : Spell
public class WeakenSpell : MagerySpell
{
private static SpellInfo m_Info = new SpellInfo(
"Weaken", "Des Mani",
SpellCircle.First,
212,
9031,
Reagent.Garlic,
Reagent.Nightshade
);
public override SpellCircle Circle { get { return SpellCircle.First; } }
public WeakenSpell( Mobile caster, Item scroll ) : base( caster, scroll, m_Info )
{
}