This commit is contained in:
mark 2012-11-10 20:06:36 +00:00
parent 8ff1a903a0
commit 14873aaa3e
78 changed files with 360 additions and 231 deletions

View file

@ -1,6 +1,7 @@
using System;
using System.Collections;
using Server;
using Server.Factions;
using Server.Multis;
namespace Server.Items
@ -140,6 +141,9 @@ namespace Server.Items
{
if ( IsOpen )
{
if ( from is BaseFactionGuard )
return false;
if ( (from.Direction & Direction.Running) != 0 || (m_Boat != null && !m_Boat.Contains( from )) )
return true;

View file

@ -3,11 +3,11 @@ using Server.Items;
using Server.Mobiles;
namespace Server.Multis
{
{
public class OrcCamp : BaseCamp
{
public virtual Mobile Orcs{ get{ return new Orc(); } }
private Mobile m_Prisoner;
[Constructable]

View file

@ -3,11 +3,11 @@ using Server.Items;
using Server.Mobiles;
namespace Server.Multis
{
{
public class RatCamp : BaseCamp
{
public virtual Mobile Ratmen{ get{ return new Ratman(); } }
private Mobile m_Prisoner;
[Constructable]

View file

@ -9,6 +9,7 @@ using Server.Gumps;
using Server.Items;
using Server.Mobiles;
using Server.Network;
using Server.Spells;
using Server.Targeting;
namespace Server.Multis
@ -646,8 +647,12 @@ namespace Server.Multis
public void BeginCustomize( Mobile m )
{
if( !m.CheckAlive() )
if( !m.CheckAlive() ) {
return;
} else if ( SpellHelper.CheckCombat( m, true ) ) {
m.SendLocalizedMessage( 1005564, "", 0x22 ); // Wouldst thou flee during the heat of battle??
return;
}
RelocateEntities();