This commit is contained in:
parent
b2349aed25
commit
d03acbffaf
15 changed files with 81 additions and 30 deletions
|
|
@ -64,11 +64,11 @@ namespace Server.Items
|
|||
|
||||
public override int LabelNumber{ get{ return 1041361; } } // A bank check
|
||||
|
||||
public override void GetProperties(ObjectPropertyList list)
|
||||
public override void GetProperties( ObjectPropertyList list )
|
||||
{
|
||||
base.GetProperties( list );
|
||||
|
||||
list.Add( 1060738, m_Worth.ToString() ); // value: ~1_val~
|
||||
list.Add( 1060738, Core.ML ? m_Worth.ToString( "N0" ) : m_Worth.ToString() ); // value: ~1_val~
|
||||
}
|
||||
|
||||
public override void OnSingleClick( Mobile from )
|
||||
|
|
|
|||
|
|
@ -154,6 +154,9 @@ namespace Server.Items
|
|||
|
||||
private bool IsForge( object obj )
|
||||
{
|
||||
if ( Core.ML && obj is Mobile && ((Mobile)obj).IsDeadBondedPet )
|
||||
return false;
|
||||
|
||||
if ( obj.GetType().IsDefined( typeof( ForgeAttribute ), false ) )
|
||||
return true;
|
||||
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ namespace Server.Items
|
|||
|
||||
[Constructable]
|
||||
public SummonFiendScroll( int amount )
|
||||
: base( 606, 0x2D57, amount )
|
||||
: base( 607, 0x2D58, amount )
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -475,6 +475,8 @@ namespace Server.Items
|
|||
|
||||
if ( !isShield && armor.MeditationAllowance == ArmorMeditationAllowance.All )
|
||||
m_Props.Set( 3, true ); // remove mage armor from possible properties
|
||||
if ( armor.Resource >= CraftResource.RegularLeather && armor.Resource <= CraftResource.BarbedLeather )
|
||||
m_Props.Set( 0, true ); // remove lower requirements from possible properties for leather armor
|
||||
|
||||
for ( int i = 0; i < attributeCount; ++i )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ namespace Server.Items
|
|||
/* Gazer */ new MonsterStatuetteInfo( 1049768, 0x20F4, 377 ),
|
||||
/* FireElemental */ new MonsterStatuetteInfo( 1049769, 0x20F3, 838 ),
|
||||
/* Wolf */ new MonsterStatuetteInfo( 1049770, 0x2122, 229 ),
|
||||
/* Phillip's Steed */ new MonsterStatuetteInfo( 1063488, 0x3FFE, 205 ),
|
||||
/* Phillip's Steed */ new MonsterStatuetteInfo( 1063488, 0x3FFE, 168 ),
|
||||
/* Seahorse */ new MonsterStatuetteInfo( 1070819, 0x25BA, 138 )
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1056,11 +1056,13 @@ namespace Server.Items
|
|||
|
||||
if ( shield != null )
|
||||
{
|
||||
double chance = (parry - bushidoNonRacial) / 400.0; //As per OSI, no negitive effect from the Racial stuffs, ie, 120 parry and '0' bushido with humans
|
||||
double chance = (parry - bushidoNonRacial) / 400.0; // As per OSI, no negitive effect from the Racial stuffs, ie, 120 parry and '0' bushido with humans
|
||||
|
||||
if ( chance <= 0 ) // chance shouldn't go below 0
|
||||
chance = 0;
|
||||
|
||||
// Parry over 100 grants a 5% bonus.
|
||||
if ( parry >= 100.0 )
|
||||
// Parry/Bushido over 100 grants a 5% bonus.
|
||||
if ( parry >= 100.0 || bushido >= 100.0)
|
||||
chance += 0.05;
|
||||
|
||||
// Evasion grants a variable bonus post ML. 50% prior.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue