- extensive framework for dueling, tournaments, and events
- IP address command implementor - miscellaneous minor fixes
This commit is contained in:
parent
c52504151b
commit
599b2af6d5
82 changed files with 11920 additions and 63 deletions
|
|
@ -54,6 +54,14 @@ namespace Server.SkillHandlers
|
|||
{
|
||||
from.SendLocalizedMessage( 1049528 ); // You cannot calm that!
|
||||
}
|
||||
else if ( from.Region.IsPartOf( typeof( Engines.ConPVP.SafeZone ) ) )
|
||||
{
|
||||
from.SendMessage( "You may not peacemake here." );
|
||||
}
|
||||
else if ( ((Mobile)targeted).Region.IsPartOf( typeof( Engines.ConPVP.SafeZone ) ) )
|
||||
{
|
||||
from.SendMessage( "You may not peacemake there." );
|
||||
}
|
||||
else if ( !m_Instrument.IsChildOf( from.Backpack ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1062488 ); // The instrument you are trying to play is no longer in your backpack!
|
||||
|
|
|
|||
|
|
@ -81,8 +81,11 @@ namespace Server.SkillHandlers
|
|||
|
||||
from.PlaySound( 0x4F );
|
||||
|
||||
m_Potion.Consume();
|
||||
from.AddToBackpack( new Bottle() );
|
||||
if ( !Engines.ConPVP.DuelContext.IsFreeConsume( from ) )
|
||||
{
|
||||
m_Potion.Consume();
|
||||
from.AddToBackpack( new Bottle() );
|
||||
}
|
||||
}
|
||||
else // Target can't be poisoned
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue