#W# Adding water creatures to the dynamic spawner.
This commit is contained in:
parent
2b8c1a88ea
commit
533790b9dc
2 changed files with 24 additions and 1 deletions
|
|
@ -133,6 +133,13 @@ namespace Server
|
|||
typeof( Boar ), typeof( BlackBear ), typeof( BrownBear ), typeof( GreyWolf )
|
||||
};
|
||||
|
||||
|
||||
//-------------------------------------- WaterCreatures ------------------------------------------------
|
||||
private static Type[] WaterCreatures = new Type[]
|
||||
{
|
||||
typeof( WaterElemental ), typeof( Dolphin ), typeof( DeepSeaSerpent ),
|
||||
typeof( Leviathan ), typeof( SeaSerpent ), typeof( Kraken )
|
||||
};
|
||||
//-------------------------------------- Tier A------------------------------------------------
|
||||
|
||||
private static Type[] Dirt_A = new Type[]
|
||||
|
|
@ -474,6 +481,11 @@ namespace Server
|
|||
else if ( terrain == Terrain.Dirt )
|
||||
m = Construct( DirtAnimals ) as Mobile;
|
||||
}
|
||||
else if ( spawn is SpawnWater )
|
||||
{
|
||||
if ( terrain == Terrain.Water )
|
||||
m = Construct( WaterCreatures ) as Mobile;
|
||||
}
|
||||
else if ( spawn is Spawn_A )
|
||||
{
|
||||
if ( terrain == Terrain.Forest )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue