corrections for more champ spawn replicas. correction for mounted potion animation.
This commit is contained in:
parent
2e4d48e193
commit
2d7747154c
8 changed files with 51 additions and 9 deletions
|
|
@ -4,11 +4,10 @@ using Server.Items;
|
|||
|
||||
namespace Server.Items
|
||||
{
|
||||
[FlipableAttribute( 0x2250, 0x2251 )]
|
||||
public class DemonSkull : Item
|
||||
{
|
||||
[Constructable]
|
||||
public DemonSkull() : base( 0x2250 )
|
||||
public DemonSkull() : base( 0x224e + Utility.Random(4) )
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,33 @@ namespace Server.Items
|
|||
{
|
||||
public class Pier : Item
|
||||
{
|
||||
/*
|
||||
* This does not make a lot of sense, being a "Pier"
|
||||
* and having possible itemids that have nothing
|
||||
* to do with piers. The three items here are basically
|
||||
* permutations of the same "drop", or item that
|
||||
* will be randomly selected when the item drops.
|
||||
*
|
||||
* It was either this, or make 2
|
||||
* new classes named to reflect that they are rocks
|
||||
* in water, or put them all in one class. Either
|
||||
* is kind of senseless, so it is what it is.
|
||||
*
|
||||
*/
|
||||
|
||||
private static int[] m_itemids = new int[]
|
||||
{
|
||||
0x3486, 0x348b, 0x3ae
|
||||
};
|
||||
|
||||
[Constructable]
|
||||
public Pier() : base( 0x03AE )
|
||||
public Pier()
|
||||
: base(m_itemids[Utility.Random(3)])
|
||||
{
|
||||
}
|
||||
|
||||
public Pier(int itemid)
|
||||
: base(itemid)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,8 @@ namespace Server.Items
|
|||
public class WallBlood : Item
|
||||
{
|
||||
[Constructable]
|
||||
public WallBlood() : base( 0x1D95 )
|
||||
public WallBlood()
|
||||
: base(Utility.RandomBool() ? 0x1D95 : 0x1D94)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,19 @@ namespace Server.Items
|
|||
{
|
||||
public class Web : Item
|
||||
{
|
||||
private static int[] m_itemids = new int[]
|
||||
{
|
||||
0x10d7, 0x10d8, 0x10dd
|
||||
};
|
||||
|
||||
[Constructable]
|
||||
public Web() : base( 0x10DD )
|
||||
public Web()
|
||||
: base(m_itemids[Utility.Random(3)])
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public Web( int itemid ) : base( itemid )
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,8 @@ namespace Server.Items
|
|||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
if (version < 1)
|
||||
|
||||
if (version < 1 && Hue == 1)
|
||||
{
|
||||
Hue = 0x455;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,9 +48,10 @@ namespace Server.Items
|
|||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
if (version < 1)
|
||||
|
||||
if (version < 1 && Hue == 0x3f) /* Pigmented? */
|
||||
{
|
||||
Hue = 0x1D6;
|
||||
Hue = 0x2a3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ namespace Server.Items
|
|||
|
||||
m.AddToBackpack( new Bottle() );
|
||||
|
||||
if ( m.Body.IsHuman /*&& !m.Mounted*/ )
|
||||
if ( m.Body.IsHuman && !m.Mounted )
|
||||
m.Animate( 34, 5, 1, true, false, 0 );
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -43,6 +43,8 @@ namespace Server.Items
|
|||
Spider,
|
||||
OphidianArchMage,
|
||||
OphidianWarrior,
|
||||
OphidianKnight,
|
||||
OphidianMage,
|
||||
DreadHorn
|
||||
}
|
||||
|
||||
|
|
@ -105,6 +107,8 @@ namespace Server.Items
|
|||
/* Spider */ new MonsterStatuetteInfo( 1029668, 0x25C4, 1170 ),
|
||||
/* OphidianArchMage */ new MonsterStatuetteInfo( 1029641, 0x25A9, 639 ),
|
||||
/* OphidianWarrior */ new MonsterStatuetteInfo( 1029645, 0x25AD, 634 ),
|
||||
/* OphidianKnight */ new MonsterStatuetteInfo( 1029642, 0x25aa, 634 ),
|
||||
/* OphidianMage */ new MonsterStatuetteInfo( 1029643, 0x25ab, 639 ),
|
||||
/* DreadHorn */ new MonsterStatuetteInfo( 1031651, 0x2D83, 0xA8 )
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue