[1.0] Druid Spells
Summary:
Druidic spells
Description:
Spells, right, for Druids.
Oh, more extended than that?
OK, a selection of 16 spells, scrolls, regs and spellbook for druidic spells. They use Animal Lore and Animal Taming.
Installation:
Stick files in Custom folder. Replace Spellbook.cs. Modify Initialiser to contain the following:
You'll need to use a modified reagent.cs file - this one was submitted by sk123:
Summary:
Druidic spells
Description:
Spells, right, for Druids.
Oh, more extended than that?
OK, a selection of 16 spells, scrolls, regs and spellbook for druidic spells. They use Animal Lore and Animal Taming.
Installation:
Stick files in Custom folder. Replace Spellbook.cs. Modify Initialiser to contain the following:
Code:
// Druid Spells
Register( 301, typeof( Druid.SheildOfEarthSpell ) );
Register( 302, typeof( Druid.HollowReedSpell ) );
Register( 303, typeof( Druid.PackOfBeastSpell ) );
Register( 304, typeof( Druid.SpringOfLifeSpell ) );
Register( 305, typeof( Druid.GraspingRootsSpell ) );
Register( 306, typeof( Druid.BlendWithForestSpell ) );
Register( 307, typeof( Druid.SwarmOfInsectsSpell ) );
Register( 308, typeof( Druid.VolcanicEruptionSpell ) );
Register( 309, typeof( Druid.TreefellowSpell ) );
Register( 310, typeof( Druid.StoneCircleSpell ) );
Register( 311, typeof( Druid.EnchantedGroveSpell ) );
Register( 312, typeof( Druid.LureStoneSpell ) );
Register( 313, typeof( Druid.NaturesPassageSpell ) );
Register( 314, typeof( Druid.MushroomGatewaySpell ) );
Register( 315, typeof( Druid.RestorativeSoilSpell ) );
Register( 316, typeof( Druid.FireflySpell ) );
You'll need to use a modified reagent.cs file - this one was submitted by sk123:
Code:
using System;
using Server.Items;
namespace Server.Spells
{
public class Reagent
{
private static Type[] m_Types = new Type[16]
{
typeof( BlackPearl ),
typeof( Bloodmoss ),
typeof( Garlic ),
typeof( Ginseng ),
typeof( MandrakeRoot ),
typeof( Nightshade ),
typeof( SulfurousAsh ),
typeof( SpidersSilk ),
typeof( BatWing ),
typeof( GraveDust ),
typeof( DaemonBlood ),
typeof( NoxCrystal ),
typeof( PigIron ),
typeof( SpringWater ),
typeof( DestroyingAngel ),
typeof( PetrafiedWood )
};
public Type[] Types
{
get{ return m_Types; }
}
public static Type BlackPearl
{
get{ return m_Types[0]; }
set{ m_Types[0] = value; }
}
public static Type Bloodmoss
{
get{ return m_Types[1]; }
set{ m_Types[1] = value; }
}
public static Type Garlic
{
get{ return m_Types[2]; }
set{ m_Types[2] = value; }
}
public static Type Ginseng
{
get{ return m_Types[3]; }
set{ m_Types[3] = value; }
}
public static Type MandrakeRoot
{
get{ return m_Types[4]; }
set{ m_Types[4] = value; }
}
public static Type Nightshade
{
get{ return m_Types[5]; }
set{ m_Types[5] = value; }
}
public static Type SulfurousAsh
{
get{ return m_Types[6]; }
set{ m_Types[6] = value; }
}
public static Type SpidersSilk
{
get{ return m_Types[7]; }
set{ m_Types[7] = value; }
}
public static Type BatWing
{
get{ return m_Types[8]; }
set{ m_Types[8] = value; }
}
public static Type GraveDust
{
get{ return m_Types[9]; }
set{ m_Types[9] = value; }
}
public static Type DaemonBlood
{
get{ return m_Types[10]; }
set{ m_Types[10] = value; }
}
public static Type NoxCrystal
{
get{ return m_Types[11]; }
set{ m_Types[11] = value; }
}
public static Type PigIron
{
get{ return m_Types[12]; }
set{ m_Types[12] = value; }
}
public static Type SpringWater
{
get{ return m_Types[13]; }
set{ m_Types[13] = value; }
}
public static Type DestroyingAngel
{
get{ return m_Types[14]; }
set{ m_Types[14] = value; }
}
public static Type PetrafiedWood
{
get{ return m_Types[15]; }
set{ m_Types[15] = value; }
}
}
}