#W# Confict: Fixed BaseCreature git merge conflict.
This commit is contained in:
commit
ad38314ca7
112 changed files with 5397 additions and 616 deletions
|
|
@ -137,7 +137,7 @@ namespace Server.Mobiles
|
|||
public static bool CheckAccess(BaseCreature animal, Mobile from) =>
|
||||
from == animal || from.AccessLevel >= AccessLevel.GameMaster || from.Alive && animal.Controlled &&
|
||||
!animal.IsDeadPet &&
|
||||
(from == animal.ControlMaster || from == animal.SummonMaster || animal.IsPetFriend(from));
|
||||
(from == animal.GetMaster() || animal.IsPetFriend(from));
|
||||
|
||||
public static void CombineBackpacks(BaseCreature animal)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -239,8 +239,7 @@ public abstract partial class BaseMount : BaseCreature, IMount
|
|||
if (from.InRange(this, 1))
|
||||
{
|
||||
var canAccess = from.AccessLevel >= AccessLevel.GameMaster
|
||||
|| Controlled && ControlMaster == from
|
||||
|| Summoned && SummonMaster == from;
|
||||
|| GetMaster() == from;
|
||||
|
||||
if (canAccess)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override void OnHarmfulSpell(Mobile from)
|
||||
{
|
||||
if (!Controlled && ControlMaster == null)
|
||||
if (!Controlled)
|
||||
{
|
||||
CurrentSpeed = BoostedSpeed;
|
||||
}
|
||||
|
|
@ -79,7 +79,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override void OnCombatantChange()
|
||||
{
|
||||
if (Combatant == null && !Controlled && ControlMaster == null)
|
||||
if (Combatant == null && !Controlled)
|
||||
{
|
||||
CurrentSpeed = PassiveSpeed;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue