Skip to content

Instantly share code, notes, and snippets.

@masterots
Last active October 25, 2021 00:04
Show Gist options
  • Save masterots/fdf67e2e156067a5c55dcabfd4b4dc51 to your computer and use it in GitHub Desktop.
Save masterots/fdf67e2e156067a5c55dcabfd4b4dc51 to your computer and use it in GitHub Desktop.
Avrae discord bot aliases
# Create counter to track Ki points
!customcounter create Ki -min 0 -max 2
# Create command to use Ki points for Flurry of Blows
!alias flurry !multiline
{{"!cc Ki -1" if get_cc("Ki") > 0 else "No Ki left"}}
{{"!attack Unarmed Strike" if get_cc("Ki") > 0 else ""}}
{{"!attack Unarmed Strike" if get_cc("Ki") > 0 else ""}}
# Create command to use Ki points for Flurry of Blows with named opponent
!alias iflurry !multiline
{{"!cc Ki -1" if get_cc("Ki") > 0 else "No Ki left"}}
{{"!i attack %1% Unarmed Strike" if get_cc("Ki") > 0 else ""}}
{{"!i attack %1% Unarmed Strike" if get_cc("Ki") > 0 else ""}}
# Create command to use Martial Arts bonus attack
!alias martial !multiline
!attack Quarterstaff
!attack Unarmed Strike
# Create command to use Martial Arts bonus attack with named opponent
!alias imartial !multiline
!i attack %1% Quarterstaff
!i attack %1% Unarmed Strike
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment