- Corrected the Sanctuary dungeon region bounds in Trammel.
- Added the [Message command to send players a page reply style message. - Added a more robust version of the [DesignInsert command, supporting the [Area modifier and conditionals, and only allowing insertion of Static items unless otherwise specified (using [DesignInsert true). Items can also be inserted into multiple house plots at the same time. - Added the ObjectTypes check to the [Serial command implementor, fixing potential server crashes on invalid casts. - Grammar fixes for page gump replies. - Removed the runebook use delay for Core.SA. - Ridgeback, SavageRidgeback and ScaledSwampDragon now override bonding requirements. - Added a PlayerMobile type check to BaseVendor.OnDragDrop to prevent invalid casts. - Players can now return filled bulk orders without having any points in the bulk order crafting skill. - Added ArcaneFocus constructor overloads to make it addable in game.
This commit is contained in:
parent
99b0ad9de5
commit
ece7ad37ac
12 changed files with 316 additions and 131 deletions
|
|
@ -45,6 +45,11 @@ namespace Server.Mobiles
|
|||
MinTameSkill = 83.1;
|
||||
}
|
||||
|
||||
public override bool OverrideBondingReqs()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public override double GetControlChance( Mobile m, bool useBaseSkill )
|
||||
{
|
||||
return 1.0;
|
||||
|
|
|
|||
|
|
@ -45,6 +45,11 @@ namespace Server.Mobiles
|
|||
MinTameSkill = 83.1;
|
||||
}
|
||||
|
||||
public override bool OverrideBondingReqs()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public override double GetControlChance( Mobile m, bool useBaseSkill )
|
||||
{
|
||||
return 1.0;
|
||||
|
|
|
|||
|
|
@ -44,6 +44,11 @@ namespace Server.Mobiles
|
|||
MinTameSkill = 93.9;
|
||||
}
|
||||
|
||||
public override bool OverrideBondingReqs()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public override double GetControlChance( Mobile m, bool useBaseSkill )
|
||||
{
|
||||
return 1.0;
|
||||
|
|
|
|||
|
|
@ -752,16 +752,14 @@ namespace Server.Mobiles
|
|||
|
||||
if ( dropped is SmallBOD || dropped is LargeBOD )
|
||||
{
|
||||
if( Core.ML )
|
||||
{
|
||||
if( ((PlayerMobile)from).NextBODTurnInTime > DateTime.Now )
|
||||
{
|
||||
SayTo( from, 1079976 ); //
|
||||
return false;
|
||||
}
|
||||
}
|
||||
PlayerMobile pm = from as PlayerMobile;
|
||||
|
||||
if ( !IsValidBulkOrder( dropped ) || !SupportsBulkOrders( from ) )
|
||||
if ( Core.ML && pm != null && pm.NextBODTurnInTime > DateTime.Now )
|
||||
{
|
||||
SayTo( from, 1079976 ); // You'll have to wait a few seconds while I inspect the last order.
|
||||
return false;
|
||||
}
|
||||
else if ( !IsValidBulkOrder( dropped ) )
|
||||
{
|
||||
SayTo( from, 1045130 ); // That order is for some other shopkeeper.
|
||||
return false;
|
||||
|
|
@ -796,10 +794,8 @@ namespace Server.Mobiles
|
|||
|
||||
OnSuccessfulBulkOrderReceive( from );
|
||||
|
||||
if( Core.ML )
|
||||
{
|
||||
((PlayerMobile)from).NextBODTurnInTime = DateTime.Now + TimeSpan.FromSeconds( 10.0 );
|
||||
}
|
||||
if ( Core.ML && pm != null )
|
||||
pm.NextBODTurnInTime = DateTime.Now + TimeSpan.FromSeconds( 10.0 );
|
||||
|
||||
dropped.Delete();
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue