fix: Consolidates debug check messages for AI and adds debounce (#2235)
This commit is contained in:
parent
8f88de68a7
commit
f89150735e
14 changed files with 838 additions and 594 deletions
|
|
@ -398,17 +398,14 @@ namespace Server.Factions
|
|||
else*/
|
||||
if (AcquireFocusMob(Mobile.RangePerception, Mobile.FightMode, false, false, true))
|
||||
{
|
||||
if (Mobile.Debug)
|
||||
{
|
||||
Mobile.DebugSay($"My move is blocked, so I am going to attack {Mobile.FocusMob.Name}");
|
||||
}
|
||||
this.DebugSayFormatted($"My move is blocked, so I am going to attack {Mobile.FocusMob.Name}");
|
||||
|
||||
Mobile.Combatant = Mobile.FocusMob;
|
||||
Action = ActionType.Combat;
|
||||
}
|
||||
else if (Mobile.Debug)
|
||||
else
|
||||
{
|
||||
Mobile.DebugSay("I am stuck");
|
||||
DebugSay("I am stuck");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue