- 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
|
|
@ -1103,6 +1103,11 @@ namespace Server.Factions
|
|||
if ( victimState == null )
|
||||
return;
|
||||
|
||||
#region Dueling
|
||||
if ( victim.Region.IsPartOf( typeof( Engines.ConPVP.SafeZone ) ) )
|
||||
return;
|
||||
#endregion
|
||||
|
||||
if ( killer == victim || killerState.Faction != victimState.Faction )
|
||||
ApplySkillLoss( victim );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue