Adds style cop (#109)
This commit is contained in:
parent
3e715bcb60
commit
556a17aba8
1725 changed files with 33831 additions and 38046 deletions
|
|
@ -190,7 +190,6 @@ namespace Server.Mobiles
|
|||
given "come" command, ie they wander towards their summoner,
|
||||
but never actually "follow".
|
||||
*/
|
||||
|
||||
else if (!Combat(this))
|
||||
{
|
||||
AIObject?.MoveTo(SummonMaster, false, 5);
|
||||
|
|
@ -201,10 +200,9 @@ namespace Server.Mobiles
|
|||
is a player or controlled/summoned, and the summoner is not already
|
||||
engaged in combat.
|
||||
*/
|
||||
|
||||
else if (!Combat(SummonMaster))
|
||||
{
|
||||
if (Combatant.Player || Combatant is BaseCreature bc && (bc.Controlled || bc.SummonMaster != null))
|
||||
if (Combatant.Player || (Combatant is BaseCreature bc && (bc.Controlled || bc.SummonMaster != null)))
|
||||
SummonMaster.Combatant = Combatant;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue