This commit is contained in:
asayre 2007-01-08 04:50:22 +00:00
parent 5c59923793
commit f8cc9c10a8
2 changed files with 14 additions and 12 deletions

View file

@ -340,17 +340,17 @@ namespace Server.Multis
door = new GenericHouseDoor( facing, 0x319C + 4 * type + mod * 2, 0xEA, 0xF1, false );
}
/*
* ASayre HATE doors. ASayre SMASH
WestCCW EastCW SoutCCW NorthCW
0x31AE* 0x31AC 0x2D48* 0x2D46* Elvan Wood Door
0x2d65* 0x31a0 0x2d63* 0x31a2 Elvan White Wooden Door 1
0x2d69* 0x31a4 0x2d67* 0x31a6 Elvan Ornate Door
0x2d6d* 0x31aa 0x2d6b* 0x31a8 Elvan Kia Wood Door 2
0x2fe4* 0x319c 0x2fe2* 0x319e Elvan Moon Door
*
* */
else if( itemID >= 0x367B && itemID < 0x369B )
{
int type = (itemID - 0x367B) / 16;
DoorFacing facing = (DoorFacing)(((itemID - 0x367B) / 2) % 8);
switch( type )
{
case 0: door = new GenericHouseDoor( facing, 0x367B, 0xED, 0xF4 ); break; //crystal
case 1: door = new GenericHouseDoor( facing, 0x368B, 0xEC, 0x3E7 ); break; //shadow
}
}
if( door != null )
{
@ -1889,6 +1889,8 @@ namespace Server.Multis
return true;
else if( itemID >= 0x319C && itemID < 0x31AF )
return true;
else if( itemID >= 0x367B && itemID < 0x369B )
return true;
return false;
}

View file

@ -76,7 +76,7 @@ namespace Server
new ExpansionInfo( 0, "None" , 0x00, 0x0003, 0x008, 0x00 ),
new ExpansionInfo( 1, "Age of Shadows" , 0x08, 0x801F, 0x028, 0x20 ),
new ExpansionInfo( 2, "Samurai Empire" , 0x10, 0x805F, 0x0A8, 0x60 ), //0x40 | 0x20 = 0x60
new ExpansionInfo( 3, "Mondain's Legacy", new ClientVersion( "5.0.0a" ), 0x80DF, 0x1A8, 0xE0 ) //0x80 | 0x60 = 0xE0
new ExpansionInfo( 3, "Mondain's Legacy", new ClientVersion( "5.0.0a" ), 0x82DF, 0x1A8, 0x2E0 ) //0x280 | 0x60 = 0x2E0
};
public static ExpansionInfo GetInfo( Expansion ex )