Implement SE lootpacks for SE enabled shards.
http://www.runuo.com/community/threads/scn-656-osi-loot.429885/ Range Corrections for NPC context menus. http://www.runuo.com/community/threads/svn-656-bulk-order-info-and-train-context-menu-range.451723/ Correction to ships' tillerman. Fixes dropping maps to tillerman, and a boat-break-in exploit. http://www.runuo.com/community/threads/svn-656-tillerman-doesnt-accept-map.447911/ Aesthetic corrections to GargoylesPickaxe. http://www.runuo.com/community/threads/svn-656-blacksmith-reward-gargoyle-pickaxes.436462/
This commit is contained in:
parent
030daa30da
commit
c81a87394d
6 changed files with 23 additions and 16 deletions
|
|
@ -9,7 +9,7 @@ namespace Server.ContextMenus
|
|||
private BaseCreature m_Mobile;
|
||||
private Mobile m_From;
|
||||
|
||||
public TeachEntry( SkillName skill, BaseCreature m, Mobile from, bool enabled ) : base( 6000 + (int)skill, 4 )
|
||||
public TeachEntry( SkillName skill, BaseCreature m, Mobile from, bool enabled ) : base( 6000 + (int)skill )
|
||||
{
|
||||
m_Skill = skill;
|
||||
m_Mobile = m;
|
||||
|
|
|
|||
|
|
@ -16,24 +16,27 @@ namespace Server.Items
|
|||
public override int AosMinDamage{ get{ return 13; } }
|
||||
public override int AosMaxDamage{ get{ return 15; } }
|
||||
public override int AosSpeed{ get{ return 35; } }
|
||||
public override float MlSpeed{ get{ return 3.00f; } }
|
||||
|
||||
public override int OldStrengthReq{ get{ return 25; } }
|
||||
public override int OldMinDamage{ get{ return 1; } }
|
||||
public override int OldMaxDamage{ get{ return 15; } }
|
||||
public override int OldSpeed{ get{ return 35; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 31; } }
|
||||
public override int InitMaxHits{ get{ return 60; } }
|
||||
|
||||
public override WeaponAnimation DefAnimation{ get{ return WeaponAnimation.Slash1H; } }
|
||||
|
||||
[Constructable]
|
||||
public GargoylesPickaxe() : this( 100 )
|
||||
public GargoylesPickaxe() : this( Utility.RandomMinMax( 101, 125 ))
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public GargoylesPickaxe( int uses ) : base( 0xE86 )
|
||||
public GargoylesPickaxe( int uses ) : base( 0xE85 + Utility.Random( 2 ))
|
||||
{
|
||||
Weight = 11.0;
|
||||
Hue = 0x973;
|
||||
UsesRemaining = uses;
|
||||
ShowUsesRemaining = true;
|
||||
}
|
||||
|
|
@ -54,6 +57,9 @@ namespace Server.Items
|
|||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( Hue == 0x973 )
|
||||
Hue = 0x0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -16,6 +16,7 @@ namespace Server.Items
|
|||
public override int AosMinDamage{ get{ return 13; } }
|
||||
public override int AosMaxDamage{ get{ return 15; } }
|
||||
public override int AosSpeed{ get{ return 35; } }
|
||||
public override float MlSpeed{ get{ return 3.00f; } }
|
||||
|
||||
public override int OldStrengthReq{ get{ return 25; } }
|
||||
public override int OldMinDamage{ get{ return 1; } }
|
||||
|
|
|
|||
|
|
@ -468,13 +468,13 @@ namespace Server
|
|||
#endregion
|
||||
|
||||
#region Generic accessors
|
||||
public static LootPack Poor{ get{ return Core.AOS ? AosPoor : OldPoor; } }
|
||||
public static LootPack Meager{ get{ return Core.AOS ? AosMeager : OldMeager; } }
|
||||
public static LootPack Average{ get{ return Core.AOS ? AosAverage : OldAverage; } }
|
||||
public static LootPack Rich{ get{ return Core.AOS ? AosRich : OldRich; } }
|
||||
public static LootPack FilthyRich{ get{ return Core.AOS ? AosFilthyRich : OldFilthyRich; } }
|
||||
public static LootPack UltraRich{ get{ return Core.AOS ? AosUltraRich : OldUltraRich; } }
|
||||
public static LootPack SuperBoss{ get{ return Core.AOS ? AosSuperBoss : OldSuperBoss; } }
|
||||
public static LootPack Poor{ get{ return Core.SE ? SePoor : Core.AOS ? AosPoor : OldPoor; } }
|
||||
public static LootPack Meager{ get{ return Core.SE ? SeMeager : Core.AOS ? AosMeager : OldMeager; } }
|
||||
public static LootPack Average{ get{ return Core.SE ? SeAverage : Core.AOS ? AosAverage : OldAverage; } }
|
||||
public static LootPack Rich{ get{ return Core.SE ? SeRich : Core.AOS ? AosRich : OldRich; } }
|
||||
public static LootPack FilthyRich{ get{ return Core.SE ? SeFilthyRich : Core.AOS ? AosFilthyRich : OldFilthyRich; } }
|
||||
public static LootPack UltraRich{ get{ return Core.SE ? SeUltraRich : Core.AOS ? AosUltraRich : OldUltraRich; } }
|
||||
public static LootPack SuperBoss{ get{ return Core.SE ? SeSuperBoss : Core.AOS ? AosSuperBoss : OldSuperBoss; } }
|
||||
#endregion
|
||||
|
||||
public static readonly LootPack LowScrolls = new LootPack( new LootPackEntry[]
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ namespace Server.Mobiles
|
|||
private BaseVendor m_Vendor;
|
||||
|
||||
public BulkOrderInfoEntry( Mobile from, BaseVendor vendor )
|
||||
: base( 6152, 6 )
|
||||
: base( 6152 )
|
||||
{
|
||||
m_From = from;
|
||||
m_Vendor = vendor;
|
||||
|
|
@ -1404,14 +1404,14 @@ namespace Server.Mobiles
|
|||
{
|
||||
if ( from.Alive && IsActiveVendor )
|
||||
{
|
||||
if ( SupportsBulkOrders( from ) )
|
||||
list.Add( new BulkOrderInfoEntry( from, this ) );
|
||||
|
||||
if ( IsActiveSeller )
|
||||
list.Add( new VendorBuyEntry( from, this ) );
|
||||
|
||||
if ( IsActiveBuyer )
|
||||
list.Add( new VendorSellEntry( from, this ) );
|
||||
|
||||
if ( SupportsBulkOrders( from ) )
|
||||
list.Add( new BulkOrderInfoEntry( from, this ) );
|
||||
}
|
||||
|
||||
base.AddCustomContextEntries( from, list );
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ namespace Server.Items
|
|||
case Direction.South: ItemID = 0x3E4B; break;
|
||||
case Direction.North: ItemID = 0x3E4E; break;
|
||||
case Direction.West: ItemID = 0x3E50; break;
|
||||
case Direction.East: ItemID = 0x3E53; break;
|
||||
case Direction.East: ItemID = 0x3E55; break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue