#W# Source and Scripts added. Added Scripts/Settings.cs to expose some basic tweak able settings.
This commit is contained in:
parent
b51c58f514
commit
3045c83799
3512 changed files with 627673 additions and 0 deletions
36
Scripts/Items/Wands/RandomWand.cs
Normal file
36
Scripts/Items/Wands/RandomWand.cs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class RandomWand
|
||||
{
|
||||
public static BaseWand CreateWand()
|
||||
{
|
||||
return CreateRandomWand();
|
||||
}
|
||||
|
||||
public static BaseWand CreateRandomWand()
|
||||
{
|
||||
return Loot.RandomWand();
|
||||
|
||||
/*
|
||||
switch ( Utility.Random( 11 ) )
|
||||
{
|
||||
default:
|
||||
case 0: return new ClumsyWand();
|
||||
case 1: return new FeebleWand();
|
||||
case 2: return new FireballWand();
|
||||
case 3: return new GreaterHealWand();
|
||||
case 4: return new HarmWand();
|
||||
case 5: return new HealWand();
|
||||
case 6: return new IDWand();
|
||||
case 7: return new LightningWand();
|
||||
case 8: return new MagicArrowWand();
|
||||
case 9: return new ManaDrainWand();
|
||||
case 10: return new WeaknessWand();
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue