Skip to content

Commit

Permalink
Disable Sneaking on Bark
Browse files Browse the repository at this point in the history
Disables Sneaking before trying to bark.
  • Loading branch information
clayrupe650 committed Mar 22, 2020
1 parent 06a234f commit 0f8daac
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions e3 Includes/e3_Basics.inc
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,14 @@ SUB EVENT_bark(line, ChatSender, msgTarget, barkMsg)
/doevents barkReturn flush

:retry_Bark
/if (${Me.Invis}) /makemevisible
/if (${Me.Sneaking}) {
/doability Sneak
/delay 1
}
/if (${Me.Invis}) {
/makemevisible
/delay 1
}
/call TrueTarget ${msgTarget}
/if (${Target.Distance} > 5) /call MoveToLoc ${Target.Y} ${Target.X} 50 5
| -Wait a moment, then bark the message.
Expand Down Expand Up @@ -1669,4 +1676,4 @@ Sub basics_Aliases
/squelch /alias /gathercorpses /echo Gather Corpses
/squelch /alias /mana /bc Report Mana
/if (${Debug}) /echo <== basics_Aliases -|
/return
/return

0 comments on commit 0f8daac

Please sign in to comment.