Wand fixes:

- Wands can now be pigmented.
- Corrected ML weapon speed.
- Added SC/FC-1/MW properties for new wands.
- Added message for when the wand is used while it is recharging.
- Clumsy/Feeblemind/Mana Drain/Weakness wands no longer drop if Core.ML.
- Max charges are now 109 for all ML available wands, if Core.ML.
- Wands now have a cast delay if Core.ML.
- Moved RevealingAction for wands from spell casting to spell targeting.
This commit is contained in:
eos 2012-04-29 01:49:56 +00:00
parent 96725e7ea8
commit 31185a874f
10 changed files with 39 additions and 18 deletions

View file

@ -314,12 +314,17 @@ namespace Server
public static Type[] TavarasJournalTypes{ get{ return m_TavarasJournalTypes; } }
private static Type[] m_NewWandTypes = new Type[]
{
typeof( FireballWand ), typeof( LightningWand ), typeof( MagicArrowWand ),
typeof( GreaterHealWand ), typeof( HarmWand ), typeof( HealWand )
};
public static Type[] NewWandTypes{ get{ return m_NewWandTypes; } }
private static Type[] m_WandTypes = new Type[]
{
typeof( ClumsyWand ), typeof( FeebleWand ), typeof( FireballWand ),
typeof( GreaterHealWand ), typeof( HarmWand ), typeof( HealWand ),
typeof( LightningWand ), typeof( MagicArrowWand ), typeof( ManaDrainWand ),
typeof( WeaknessWand )
typeof( ClumsyWand ), typeof( FeebleWand ),
typeof( ManaDrainWand ), typeof( WeaknessWand )
};
public static Type[] WandTypes{ get{ return m_WandTypes; } }
@ -410,10 +415,12 @@ namespace Server
public static BaseWand RandomWand()
{
if ( !Core.AOS )
return Construct( m_OldWandTypes, m_WandTypes ) as BaseWand;
return Construct( m_WandTypes ) as BaseWand;
if ( Core.ML )
return Construct( m_NewWandTypes ) as BaseWand;
else if ( Core.AOS )
return Construct( m_WandTypes, m_NewWandTypes ) as BaseWand;
else
return Construct( m_OldWandTypes, m_WandTypes, m_NewWandTypes ) as BaseWand;
}
public static BaseClothing RandomClothing()