This commit is contained in:
mark 2009-07-26 05:57:43 +00:00
parent 2874ee7e23
commit d94dced436
10 changed files with 43 additions and 14 deletions

View file

@ -1922,7 +1922,7 @@ namespace Server.Mobiles
if ( master != null && master == from ) //So friends can't start the bonding process
{
if ( m_dMinTameSkill <= 29.1 || master.Skills[SkillName.AnimalTaming].Base >= m_dMinTameSkill || ( this is LesserHiryu && master.Skills[SkillName.Bushido].Base >= 90.0 ) )
if ( m_dMinTameSkill <= 29.1 || master.Skills[SkillName.AnimalTaming].Base >= m_dMinTameSkill || OverrideBondingReqs() )
{
if ( BondingBegin == DateTime.MinValue )
{
@ -1953,6 +1953,11 @@ namespace Server.Mobiles
#endregion
public virtual bool OverrideBondingReqs()
{
return false;
}
public virtual bool CanAngerOnTame{ get{ return false; } }
#region OnAction[...]

View file

@ -155,7 +155,7 @@ namespace Server.Engines.Craft
int resIndex = ( context == null ? -1 : context.LastResourceIndex2 );
Type resourceType = craftSystem.CraftSubRes.ResType;
Type resourceType = craftSystem.CraftSubRes2.ResType;
if ( resIndex > -1 )
{

View file

@ -522,6 +522,8 @@ namespace Server.Items
if( --pigment.UsesRemaining <= 0 )
pigment.Delete();
from.PlaySound(0x23E); // As per OSI TC1
}
}