#ddb-avrae-help

1 messages · Page 24 of 1

flat drum
#

But obviously the alias will also tell you

native galeBOT
#

v4.0.2 (1598)
https://github.com/avrae/avrae/releases/tag/v4.0.2

Bug Fixes

  • Fixes a gamedata compendium namespace issue
  • Fixes an issue with sadv in ieffects created before v4.0
  • Fixes an issue with ieffects created before v4.0 that had an infinite duration (Thanks @Turtle.py!)
  • Fixes an index error in the search and select function
  • Minor backend improvements and bug fixes
limpid tartan
#

I need some help

#

ok so

#

I wanted to add my own custom attack

#

for my character

#

bc my dm aloowed it

#

allowed*

#

!attack add "Shadow Clap" -d 2d8+5 -b strengthMod+proficiencyBonus

limpid tartan
#

But

#

I dont want to do +5

#

I want to do +strengthMod

#

but when I do that

#

it gives this error when I attack

#

minus the _WS I was just adding stuff to see if it would work

#

does anyone know how to add strengthMod to the attack damage

steady dew
#

try it with {code brackets}?

steady dew
#

Avrae isn't recognizing some items as being owned, anyone else having this? Stuff like Thelarr, Theki Root

fickle salmon
steady dew
#

right

#

why did they get changed?

fickle salmon
steady dew
#

that says may 12

#

and I do own SCAG

fickle salmon
#

That's when they gave notice. The changes took place yesterday during the transfer.

#

It's been marked as a Bug already. We just have to calm Avrae down long enough to assure her that everything is where they belong.

flat drum
limpid tartan
lusty flame
#

Is there a way to run an integrated campaigns encounter from dndbeyond in the discord chat? When I [DM] use the encounter battle tracker, it only sends the feed and rolls to my private avrae messages, instead of to the party

fickle salmon
#

In the DDB side, you'll have to set the rolls to be shown to everyone instead of only to DM.

lusty flame
#

oh thank you. let me check that out now

#

that worked so great. thank you so much

native galeBOT
#

v4.0.3 (1599)
https://github.com/avrae/avrae/releases/tag/v4.0.3

Improvements

  • Added an option to !init meta to change the combat DM (thanks @Turtle.py!)
  • Draconic: ParsedArguments.add_context now supports a dict[str, list[str]] (thanks @Infinidoge.snek!)
  • Made the error message when a spell cannot be found in !i cast more specific (thanks @Poliphas.rar!)

Bug Fixes

  • Fixes an issue where certain mundane items could not be looked up
  • Fixes an issue where casting non-automated spells would not use spell slots
  • Fixes an issue where casting non-automated spells would not allow using the -f argument
  • Fixes an issue when viewing the last page of an alias list when subscribed to one less than a multiple of 25 workshop collections
  • Fixes an unhandled error when importing bestiaries where monsters are missing hit die
  • Other minor improvements and bug fixes
young arch
#

Hey I can’t do !char

#

It says I have no characters when I linked the bot to DDB

empty linden
#

Try !import <url to character> first

young arch
#

Ok

fickle salmon
young arch
wet junco
#

what was the Avrae homebrew items site called again? You make items there and import it with the !pack command

viscid kernel
wet junco
#

Thank cha

wet junco
#

question, on the Avrae homebrew items tool, is there a specific way to add text that will automatically make the item force a saving throw or do you just put it in flavor text?

fickle salmon
#

You'd have to build an seperate action for the item.

#

Put the information in the flavor text, but you might have to create a seperate action.

wet junco
#

alright

viscid kernel
#

Yep. Those items are purely for lookup. They’re otherwise non-functional.

wet junco
#

👍

viscid kernel
#

But if you click Characters in the sidebar there, then hover of your character and click the wrench that appears, you can build your saving throw there.

wet junco
#

ok

#

question, can someone here more experienced with coding work this out for me with Avrae? so i want to be able to import this to a character attack and have the damage be automated as well as automatically have the target do a CON save

{"name":"Storm Bolter","meta":"Ranged Weapon, Martial, Rare 18 lbs. --- 2d10 piercing + 1d12 thunder - ammunition (100/400ft.), heavy, loading, two-handed","desc":"This weapon is infused with special runes that create magical shockwaves. Whenever a bolt from this weapon hits its target, each creature within 30ft of the target that the wielder chooses must make a DC 13 Constitution saving throw, taking 1d12 thunder damage on a failed save or half as much on a successful one"}

#

it says automation: field required and _v field required

#

when i try to import it on it's own

fickle salmon
#

Yeah, give me a few moments...

keen mauve
#

My best guess is the fact that the Avrae dashboard exports everything in YAML, and that export includes everything you need. If you import something you hadn't made with the tools there, there's a fairly good chance some part is wrong. Yours is in JSON, not YAML.

#

(JSON should still work it's just a different format)

wet junco
#

oh

viscid kernel
#

Yeah, building it there on the Dashboard is 100% the easier way to do it.

#

For this, you’d want to select Attack and Damage (Pre-set) to start. Adjust the damage as needed.

#

Then right after the damage, add the Save. Nevermind. Didn’t read close enough.

keen mauve
#

Also is it a magic weapon? Seems so but good to confirm for proper damage type purposes.

wet junco
#

yep

viscid kernel
#

But again, the items created there aren’t usable attacks, which is why you’re getting that error.

flat drum
fickle salmon
#

OK, got a semi-working prototype.

wet junco
#

thanks

fickle salmon
#

The automation looks like this:

name: Storm Bolter
automation:
  - type: target
    target: 1
    effects:
      - type: attack
        hit:
          - type: damage
            damage: 2d10 [piercing] +1d12 [thunder]
        miss: []
        attackBonus: "{dexterityMod+proficiencyBonus}"
  - type: text
    text: This weapon is infused with special runes that create magical shockwaves.
      Whenever a bolt from this weapon hits its target, each creature within
      30ft of the target that the wielder chooses must make a DC 13 Constitution
      saving throw, taking 1d12 thunder damage on a failed save or half as much
      on a successful one.
  - type: roll
    dice: 1d12[thunder]
    name: damage
  - type: target
    target: all
    effects:
      - type: save
        stat: dex
        fail:
          - type: damage
            damage: "{damage}"
        success:
          - type: damage
            damage: ({damage})/2
        dc: "13"
_v: 2
#

So this will fire the bolt at the first -t you choose, and force a saving throw on that target and every subsequent -t you put.

wet junco
#

thank you

keen mauve
#

Since it's magical, you'll want to make the piercing into magical piercing

#

And if the 1d12 thunder that's in the damage section isn't actually done off the attack, and it was only for the save, delete it

viscid kernel
#

I think maybe it’s meant to do the 1d12 to the first target automatically, which means the subsequent save should skip the first target.

fickle salmon
#

I don't know how to exclude the first targets.

wet junco
#

honestly it's fine

viscid kernel
#
name: Storm Bolter
automation:
  - type: target
    target: 1
    effects:
      - type: attack
        hit:
          - type: damage
            damage: 2d10 [piercing] +1d12 [thunder]
        miss: []
        attackBonus: "{dexterityMod+proficiencyBonus}"
  - type: text
    text: This weapon is infused with special runes that create magical shockwaves.
      Whenever a bolt from this weapon hits its target, each creature within
      30ft of the target that the wielder chooses must make a DC 13 Constitution
      saving throw, taking 1d12 thunder damage on a failed save or half as much
      on a successful one.
  - type: roll
    dice: 1d12[thunder]
    name: damage
  - type: target
    target: all
    effects:
      - type: condition
        condition: lastAttackDidHit and targetNumber > 1
        onTrue:
          - type: save
            stat: dex
            fail:
              - type: damage
                damage: "{damage}"
            success:
              - type: damage
                damage: ({damage})/2
            dc: "13"
        onFalse: []
_v: 2
#

Added a condition for lastAttackDidHit and targetNumber > 1

fickle salmon
#

Oooh! Well done!

viscid kernel
#

(I would have preferred to make it two conditions, but I’m on my phone. đŸ€Ł)

wet junco
#

i'm impressed you can code like that on your phone

viscid kernel
#

Poliphas did most of the work. 😅

flat drum
#

I have one for the Javelin of Lightning that works similar but it uses pre-target indexing

wheat gardenBOT
#

TheReverendB: Export Raw Attacks
YAML

name: Javelin of Lightning
automation:
- type: counter
  counter: Javelin of Lightning
  amount: '1'
  allowOverflow: false
  errorBehaviour: warn
- type: roll
  dice: 4d6
  name: LightningDamage
  hidden: false
- type: text
  text: 'This Javelin is a Magic Weapon. When you hurl it and speak its Command Word,
    it transforms into a bolt of lightning, forming a line 5 feet wide that extends
    out from you to a target within 120 feet. Each creature in the line excluding
    you and the target must make a DC 13 Dexterity saving throw, taking 4d6 lightning
    damage on a failed save, and half as much damage on a successful one. The Lightning
    Bolt turns back into a Javelin when it reaches the target. Make a ranged weapon
    Attack against the target. On a hit, the target takes damage from the Javelin
    plus 4d6 lightning damage.


    The javelin''s property can''t be used again until the next dawn. In the meantime,
    the Javelin can still be used as a Magic Weapon.'
- type: variable
  name: numTarg
  value: '0'
- type: target
  target: each
  effects:
  - type: condition
    condition: not numTarg
    onTrue:
    - type: attack
      hit:
      - type: damage
        damage: 1d6+{strengthMod}[magical piercing]+4d6[lightning]
        overheal: false
      miss: []
      attackBonus: strengthMod+proficiencyBonus
    - type: variable
      name: numTarg
      value: '1'
      onError: ''
    onFalse:
    - type: save
      stat: dex
      fail:
      - type: damage
        damage: '{LightningDamage}[lightning]'
        overheal: false
      success:
      - type: damage
        damage: ({LightningDamage}/2)[lightning]
        overheal: false
      dc: '13'
    errorBehaviour: 'false'
_v: 2
proper: true
verb: attacks with the
viscid kernel
#

You could probably replace numTarg with the built-in targetIndex and eliminate both those variable nodes.

flat drum
#

Yeah just haven't tried.

Have you tried the new mobile-friendly dashboard?

#

It's very functional!

viscid kernel
#

Not yet! I heard it went up, but haven’t had a cause to yet.

#

(Thought it was easier to manually indent Poliphas’ code above into the new condition that to rebuild the whole save inside it on the dashboard.)

flat drum
#

Fair

viscid kernel
#

Very exited, though. Any improvement there is sure to be a welcome change. 😅

keen mauve
#

Yeah it's very good

lucid lichen
#

<3

idle pelican
#

How to manage Avrae commands for Beastmaster/Drakewarden?

flat drum
#

Since those creatures scale with your character, it's best to homebrew a monster on critterDB and adjust them as you level up.

#

There are a few alias collections on the dashboard that handle those well if you don't feel like making your own.

wheat gardenBOT
#
TheReverendB
Drake Companion
Information

Author: @vale turret
Tags: subclass, fizbans-treasury-of-dragons
Workshop Link
!alias subscribe https://avrae.io/dashboard/workshop/61842e4e137cd863517bcdff

Description

This collection handles the Drake Companion for the Drakewarden subclass introduced in Fizban's Treasury of Dragons

​

Workshop Information Last Updated: <t:1645047386:R>

flat drum
#

That's one of them

idle pelican
#

Thanks

young arch
#

Hello there.I'm trying to set up a calender linked with seasens and weather for my dnd campaign using avrae.How do i do that?

empty linden
#

Probably would need an alias for that - check Avare.io and the Workshop there to see if someone has created something like that.

young arch
#

i dont know what im doing or what to look for exactly.

empty linden
#

Go to Avrae.io and join the Avrae developer Dsicord server - they have an area on the website (again Avrae.io) where you can see shared aliases (think of these like Avare macros) that can add to Avrae's functionality.

young arch
#

(thank you)

candid storm
#

I made a 2nd discord channel for a 2nd DnD campaign on the same discord server. and one of my players says his char in the new campgain, he plays in both on the same server* isn't showing his dice rolls. it works for the old 1st char. but not the new char. I saw him import and type !ddb and its working fine. Any thing he has to do to make his new char work?

fickle salmon
#

The DM of the campaign has to run !campaign <full campaign URL> in the second channel.

candid storm
#

or only each time I make a new one in a new channel?

#

And thank you so much, very helpful

fickle salmon
#

Yes. Avrae can't read what campaigns you have running on DDB unless you tell her which campaign you want to run in that channel.

native galeBOT
#

v4.0.4 (1600)
https://github.com/avrae/avrae/releases/tag/v4.0.4
404: version not found
(but not really)

Improvements

  • Added a select menu to select the caster when using !init cast on a group's turn
  • Added the ability to access the ieffect metavar when running Automation in an action granted by an initiative effect through !a
  • Updated the official spell automation to use the new v4 automation updates

Bug Fixes

  • Fixes an issue where initiative could enter a softlocked state if a turn string was longer than 2000 characters
  • Fixes an issue where !check could create an empty embed
  • Fixes an issue where certain monsters' initialisms spelled bad words when added to combat
  • Fixes an issue where attacks with no to-hit or damage specified in old IEffect Automation nodes were creating actions with attack and/or damage nodes
  • Other minor improvements and bug fixes
native galeBOT
#

Known Issues After Patch 4.0.4 (May 31)

  • Buttons granted by ieffects fail to run their automation when pressed

A secondary hotfix will be released this afternoon at 1:30pm PST (<t:1654029000:R>) to address these issues.

native galeBOT
crisp sequoia
#

Hii

#

Im having issues trying to log in

#

Keeps looping logging

fickle salmon
#

If you're having problems with the D&D Beyond website (as per your question on Avrae Discord) try #ddb-support instead. This is for help with the Discord dice-rolling D&D bot, Avrae.

crisp sequoia
#

Thats what im using

#

Trying to sync my acc with it

fickle salmon
viscid kernel
#

Do you get the same issue in another browser, or on another device?

crisp sequoia
#

It worked thansk

fickle salmon
young arch
#

how do you manually remove a spell slot

viscid kernel
#

!game spellslot [level] [value]

#

So !g ss 2 -1 would remove one 2nd-level slot.

lean flare
#

could someone help me add a custom attack to my sheet please? I cant figure it out.

empty linden
#

!help a add can help get you started

lean flare
#

yeah ive done that, it dosnt help much

empty linden
#

But if you need a custom action on your sheet, click the "Manage Custom" link on your actions tab, set up what kind of action it is (General, Spell, or Attack) and then configure that.

flat drum
#

What type of attack?

lean flare
#

a melee attack

#

dndbeyond dosnt do 2 types of damage so i cant do it on there

flat drum
#

You can do that with !a add

lean flare
#

it needs to be 1d6+1d4.

empty linden
#

!a add "Name of attack" -d 1d6+1d4 -desc "Description of attack"

flat drum
#
!a add "my attack name" -d "1d6+1d4+{dexterityMod}[damage type]" -b "{proficiencyBonus +dexterityMod}"```
#

Oh and a description if you want

#

You can even have separate damage types for the two dice

lean flare
#

much appreciated

minor jackal
#

Any reason why Avrae after inviting doesn't work in one server but does in another?

viscid kernel
#

In what way does it not work?

minor jackal
viscid kernel
#

Is it only !char that has the issue, or does it not respond to any command?

minor jackal
viscid kernel
#

It could be that it doesn’t have the right Discord permissions.

#

Or maybe someone changed the prefix. You can try to reset it with @Avrae#6944 prefix !

minor jackal
raw rune
#

Hi my friends and I are struggling to figure out why I keep getting the necrotic damage bonus despite not getting a 20 roll

Am I executing this attack incorrectly?
I'm just doing !a "Longsword of Life Stealing" -t <target>

flat drum
#

Because magical weapons on Beyond don't import to Avrae properly. You can make an attack for this on the dashboard though.

#

The Dagger of Venom always does poison damage and don't get me started with the Dragonwing Bow

#

Your best bet is to:

  1. Make a custom attack that works properly.
    Or
  2. Rename a similar magical weapon and add the extra damage as appropriate.
raw rune
#

So if the roll requirement is hit then then DM would need to modify the HP for the extra damage Im guessing?

flat drum
#

That would work

#

Not to hard to make a custom attack for it though

raw rune
#

Is there any tutorials for using the Editor? The link on the editor page just takes me to a page thats not really relevant

viscid kernel
raw rune
#

Ive gotten to that, but I dont understand how to transcribe the attack into the editor

#

Its not clear for example where to put the damage roll or the attack roll

viscid kernel
#

Go to “Select an Attack” > “New
” first. Give it an Attack Name.

#

Then under “Automation”, select “Add attack and damage (preset)”.

flat drum
#

Basically you'll do Target each On hit: condition: (target.creature_type and targetcreature_type not in ('construct', 'undead')) and lastAttackNaturalRoll==20 On true: damage = 1d8+{strengthMod}[magical slashing]+10[necrotic] On false: damage = 1d8+{strengthMod}[magical slashing]

viscid kernel
#

That should give you a working base to start with.

flat drum
#

I think that's right

viscid kernel
#

â˜đŸ» And then yeah, you’d need to add a Condition to check if they rolled a 20.

raw rune
flat drum
#

Just add it in

#

!classfeat fighter dueling

#

1d8+{strengthMod+2}

raw rune
# flat drum !classfeat fighter dueling

Okay I think i've nearly got it working now. Just trying to add the temphp thing. I put a temphp below the Hit On True and set it to "10" but this doesnt seem to work

flat drum
#

I think you need another condition

#

Same as the first

raw rune
#

Thats kind of what ive done, one minute

flat drum
#

But that's going to add thp to the target

#

Not to you

raw rune
#

Is there a way to grant temp hp to me?

viscid kernel
#

Add a separate Target node, and set it to target “caster”.

flat drum
#

and use the same condition

#

I think

#

...I'm not sure if lastAttack.... works in another target or not

#

yeah

#

I think you'll need to add a variable

#

at the beginning
set it to 0
then after the condition for the attack to add the extra 10, set the variable to 1

#

then target self

#

condition (your variable)

#

on true: add the thp

#

this says: It must be inside a Target effect.

#

so I don't think you can reference a prior attack inside another target effect

raw rune
#

Using your condition still I think (target.creature_type and targetcreature_type not in ('construct', 'undead')) and lastAttackNaturalRoll==20

viscid kernel
#

You’re missing a dot there.

raw rune
#

Where abouts?

viscid kernel
#

Should be target.creature_type both times.

raw rune
#

Why does it need specifying twice?

viscid kernel
#

It probably doesn’t, honestly.

raw rune
#

Makes sense, Ill simplify it and try again

viscid kernel
#

But the second one without the dot is definitely an error.

#

You probably need to switch it to ['construct', 'undead'], too.

#

[] instead of ()

#

Anyway, having it twice like that checks to make sure the target has a creature type. If it doesn’t, that currently won’t apply the extra damage.

#

If you remove the first, then it will apply if there is no creature type (and they rolled a 20).

#

So it just comes down to how you want to handle that situation.

raw rune
#

So I've got (target.creature_type and target.creature_type not in ['construct', 'undead']) and lastAttackNaturalRoll==20
But this still isn't triggering the True statement for the necrotic damage

viscid kernel
#

Try switching the error behavior from “false” to “raise”.

#

That should hopefully give some more information.

raw rune
#

Where is that?

viscid kernel
#

Stop Execution

#

Sorry, it uses a different name in the UI vs the underlying value.

raw rune
viscid kernel
#

Ah

raw rune
#

I take it then that arrays arent allowed?

viscid kernel
#

Yep

raw rune
#

So I should make explicit checks?

raw rune
flat drum
native galeBOT
#

v4.0.6 (1602)
https://github.com/avrae/avrae/releases/tag/v4.0.6

Improvements

  • Aliasing: Added AliasContext.message_id
  • Various backend and automation improvements

Bug Fixes

  • Fixed an issue where using both eadv and dis in an attack would not cancel the advantage correctly
  • Fixed various issues in official spell and action automation
  • Other minor bug fixes
late elmBOT
#

Avrae + University of Pennsylvania: the Avrae NLP Project
Want to help us make Avrae even smarter and make advances in natural language processing? Tired of memorizing long Avrae commands? Do you run a play-by-post Discord server for D&D using Avrae? We're collaborating with a research group at the University of Pennsylvania to create an AI that can understand your natural roleplay posts and automatically suggest the right command and arguments to use!

To teach this AI how to play Dungeons & Dragons, it needs to learn from examples - that's where you come in. Ask your server administrator to contribute by enabling "Contribute Message Data to Natural Language AI Training" under the "Miscellaneous Settings" tab in the !servsettings menu!

If this setting is enabled, Avrae will record a log of your gameplay, including roleplay posts, bot commands, and copies of character sheets, in channels with an active combat, and automatically contribute these logs to the research group at Penn.

Want to learn more about the project? You can find the project's website at https://www.cis.upenn.edu/~ccb/language-to-avrae.html.

Have questions? Come join the Avrae Development server and hop on down to #983795615567859743!

sinful dagger
#

Question: if I am running a solo game, can I add a sidekick to the initiatives?

steady dew
#

Yep!
You can homebrew them in CritterDB, import the bestiary to avrae, and add that monster to initiative.
Remember to use -h at the end to not hide the info of this ally.

sinful dagger
#

@steady dew does the (-h) work on monsters as well? I find it frustrating not knowing exactly how many hit points they have left!

steady dew
#

if you're the controller of a monster without its info being displayed, you will get notified by Avrae in direct messages each time the monsters HP is altered

flat drum
#

You can use -h on any combatant

#

*that you add to combat or control

#

It's a toggle so it will un-hide creatures added with !init madd or !init add but will hide player's stats.

#

You can use !init opt GO1 -h to alter a combatant already added to initiative

surreal plinth
#

Does anyone know how to use chromatic infusion with avrae commands?

viscid kernel
#

In most cases, you’ll probably want to do it manually, by adding -d "1d4 [fire]” or similar when you attack.

#
!a dagger -d "1d4 [fire]"
#

Alternatively, you could add an effect that causes that extra damage automatically, but it will apply to all damage you do (and even healing).

#
!i effect <your_name> "Chromatic Infusion" -dur 10 -d "1d4 [fire]"
#

I’m assuming the official automation just adds an effect as a reminder but doesn’t automatically apply the damage for that reason.

#

If it’s something you use often, you could create a snippet or even a separate attack to make that easier.

surreal plinth
#

Ooooh okay that makes more sense

#

Thank u

bleak sphinx
#

How to remove a single effect from a combatant?

#

Cause !i re removes all the effects

viscid kernel
#
!i re <target> [effect]
#

So !i re WO2 Prone, for example.

bleak sphinx
#

thanks

slate perch
#

Question: how do I go about joining adventurers league and is it any good

viscid kernel
manic sluice
#

Anyone have a full list of combat arguments for Avrae? I’ve been looking but can’t find one anywhere. I’m specifically trying to figure out if it’s possible to add an arg/series of args in order to use super advantage/Elven Accuracy on the !attack command

viscid kernel
#

!help attack will show you that list.

#

But eadv is what you’re looking for.

manic sluice
#

Thank you!

flat drum
#

!help <command>

hollow quest
#

Hi guys my friend can't seem to cast divine sense on his paladin - it is saying he doesn't have enough lvl 1 spell slots remaining but he has two left

keen mauve
flat drum
#

Are they using the correct character?

#

They might be checking their slots on Beyond and trying to cast with a different character

timber moat
#

How do you get beyond to recognize ki save bonus from the dragonhide belt from fizzbens

viscid kernel
timber moat
#

Is there a way to do it manually?

#

So arvae will pick up on it?

viscid kernel
#

You can manually adjust the DC when you attack by adding -dc +2 or similar.

#
!a "stunning strike" -dc +2
timber moat
#

But no way to do it on beyond right?

viscid kernel
#

I’m afraid not.

#

For Avrae, you could use an alias or snippet if you want to make that a little easier.

#

Or recreate the action yourself if you want the bonus permanently added in.

timber moat
#

Ok cool thank you for the help

surreal plinth
#

How do u remove coins that u have

flat drum
#

!game coins -20

surreal plinth
#

Ty

flat drum
#

removes 20 gold

#

!g coins -20sp removes 20 silver

surreal plinth
#

Oh okay

#

Also how do I long rest?

flat drum
#

!game lr

!help game coins for more info about coins

#

!help game for more game commands

wheat gardenBOT
flat drum
#

there are also these guides and !tutorial has some walkthroughs

surreal plinth
#

I’m gonna check it out Ty

native galeBOT
#

v4.0.7 (1603)
https://github.com/avrae/avrae/releases/tag/v4.0.7

Improvements

  • Implemented Rogue class features using v4 Automation features

Bug Fixes

  • Fixes an issue where the Initiative (DM) tutorial referenced the Death Dog by the wrong name
  • Fixes an issue that could cause character states to appear desynced across different servers
  • Fixes an issue when using the Ability Check node in automation against targets not in initiative
  • Other minor backend and automation fixes
steady dew
#

!snippet snippetname -d 1d4[damagetype]

#

!help snippet -here

wheat gardenBOT
#
!snippet [name] [code]

Creates a snippet to use in certain commands.
Ex: !snippet sneak -d "2d6[slashing]" can be used as !a sword sneak.

If a user and a server have snippets with the same name, the user snippet will take priority.

Check out the Aliasing Basics and Aliasing Documentation for more information.

Subcommands

delete - Deletes a snippet.
deleteall - Deletes ALL user snippets.
list - Lists all snippets.
rename - Renames a snippet or subscribed workshop snippet to a new name.
serve - Sets a snippet as a server snippet or subscribes the server to the workshop collection it is found in.
subscribe - Subscribes to all aliases and snippets in a workshop collection.
unsubscribe - Unsubscribes from all aliases and snippets in a given workshop collection.

More Help

An underlined command signifies that the command has subcommands.
Type !help <command> for more info on a command.
You can also type !help <category> for more info on a category.

steady dew
#

using help commands is going to be a lifesaver throughout avrae use, you can use them in direct messages, so don't be afraid to use the info they have to pull up

flat drum
#

There is an argument

#

Its listed in !help attack

-attackroll 10

#

Yes

#

I made a snippet for the clockwork amulet

wheat gardenBOT
#
TheReverendB
Simple Magic Items
Information

Author: @flat drum
Tags: item
Workshop Link
!alias subscribe https://avrae.io/dashboard/workshop/5f8ae71ebbee1bca82ad38d2

Description

Aliases for using many magical items from the Basic Rules, including any Bag of Tricks, the Clockwork Amulet (thanks DrTurtle), Necklace of Fireballs, Necklace of Prayer Beads, Pearl of Power (thanks Purplecharmanderz), Robe of Stars, Rod of Lordly Might, Staff of Frost, Staff of Healing, Staff of the Magi, Staff of Thunder and Lightning, Staff of the Woodlands (thanks Velglarn), Wand of Fireballs, Wand of Lightning Bolts, Wand of Magic Missiles, Wand of Paralysis and Wand of Viscid Globs.

Rebinding (renaming) any of these aliases is possible personally or for your server. I kept the names long so it's obvious what each one does when you view your alias list.
Basically: !alias rename oldName newName or !servalias rename oldName newName

Support the work I do with Ko-Fi

The code behind these aliases will be posted as available on my Github

​

Workshop Information Last Updated: <t:1645047386:R>

flat drum
#

Its in this collection

#

The link?

#

This should take you to the collection

#

Yes

#
!snippet clockwork <drac2> 
 cc = 'Clockwork Amulet' 
 ch = character() 
 ch.create_cc_nx(cc,0,1,'long','bubble',desc="This copper amulet contains tiny interlocking gears and is powered by magic from Mechanus, a plane of clockwork predictability. A creature that puts an ear to the amulet can hear faint ticking and whirring noises coming from within.\n\nWhen you make an attack roll while wearing the amulet, you can forgo rolling the d20 to get a 10 on the die. Once used, this property can't be used again until the next dawn.\nItem | XGtE 137") 
 if ch.get_cc(cc): 
   ch.mod_cc(cc, -1) 
   return f'''-phrase "using {get('their', 'their')} {cc}! " -attackroll 10 -f "{cc}|{ch.cc_str(cc)} (-1)\nWhen you make an attack roll while wearing the amulet, you can forgo rolling the d20 to get a 10 on the die. Once used, this property can't be used again until the next dawn." ''' 
 else: 
   return f""" -phrase "trying to use {get('their', 'their')} {cc}!" -f "{cc}|{ch.cc_str(cc)}\n\nYou already used your amulet and need to wait until dawn to use it again.  `{ctx.prefix}cc \\\"Clockwork Amulet\\\" +1` to recharge your amulet." """ 
 </drac2>```
#

That's is the snippet

#

You can copy that code or, subscribe to the collection

#

Looks like you copied the code on android

#

I suggest deleting the snippet and subscribing to the collection

#

You may need to link your Discord to Beyond

#

As well

#

Clockwork Amulet is from XGtE

#

Copy/paste the code above again, but before posting, delete any characters after </drac2> until you have to replace the >

#

Or, make your own

#

I already posted the code I used

#

That funky character is an issue with Discord on Android

#

If you copy something in Cideblock
Discord adds extra characters

#

Specifically, a newline and that other U+00A0 thing

#

You could also try copying it here

#

Or make your own with just -attackroll 10

flat drum
#

That's missing a lot of formatting

#

It needs proper spacing and indentation

flat drum
#

Ugh

#

Yes

#

One/long rest

#

Oops. It should only make one of those auto 10

#

Dammit

#

Wut

#

Forgot to set as active

#

Bah

#

Lame

#

Mobile dashboard editing is still crap

silver void
#

you can get a +16 to hit with a +5 dexterity, +6 proficiency bonus, +3 weapon and the archery fighting style, this doesn't even require stats to go beyond the normal cap of 20

flat drum
#

What about that

flat drum
#

Oops

surreal plinth
#

Question how do I lower the health of an enemy or myself?

flat drum
#

!init hp GO1 +5

#

For your own character: !game hp +5
Or !g hp +2d4+2

#

You can also target your attacks in combat

white cave
#

So, I want to create a particular type of weapon/class archetype for the sake of character aesthetic; namely, I want a character centred around "card magic," with their damage determined by the hand of 5 poker cards they pull each round.

The value of the card would determine damage (2-9 dealing 1d4+Dex, 10-King dealing 1d6+Dex, Ace dealing 1d8+Dex, with each individual die divided by half and rounded up, which comes out to an average damage of 12 if I assume +4 Dex modifier) while the suit determines damage type (Clubs deal force, hearts deal radiant, diamond deals psychic, and spade deals necrotic).

Is there any way to create an Avrae command where I tell it what I rolled (9♧, 3♡, A◇, 5♧, and 2♡, for example) and have it do the rest of the math, taking the damage types of the suits into account?

viscid kernel
#

Are the cards drawn as part of a single, specific attack?

#

Or applied to a variety of attacks?

white cave
#

Ideally as one attack; pull a hand of 5 cards and deal the appropriate magical damage

viscid kernel
#

If that’s the case, I’d just have the attack draw the card and process that accordingly.

#

Rather than drawing separately and trying to pass that in.

white cave
#

Could you elaborate a bit pls? My command of Avrae commands is a little... lacking, to say the least, lmao

viscid kernel
#

Just hover over your character, click the wrench that appears, and add a new attack.

#

I’d start by adding two Rolls: one for the card number and one for the damage. Make sure they’re marked as Hidden.

#

Then a Variable to convert the card number to a die size.

#

An “Attack and damage (preset)” to make the actual attack.

#

And a Text to display the selected card.

white cave
viscid kernel
#

Actually, is there an attack roll? Or a saving throw?

white cave
#

Alright... I have the two hidden rolls, the variable, the "Attack and damage (preset)," and the text, but what should I put in the fields?

viscid kernel
#

Or is it just damage?

white cave
#

Ah, an attack roll

#

Basically a weapon attack, just with funky damage effects

viscid kernel
#

You can name the rolls whatever you like.

flat drum
#

This would unfortunately allow for doubles to be drawn

#

Though it would be at most a 4/52 chance

#

Since you're drawing 5 cards

#

If I got my maths right.

viscid kernel
#

Avoiding doubles is doable, but significantly more complex.

white cave
viscid kernel
#

Well, it would make some parts easier; others more complicated.

viscid kernel
#

Assuming you named the variable “draw” for the card number.

white cave
#

Alright, got it! And then, what should go in the attack section?

flat drum
#

The damage variable

#

How is the damage calculated? Face value of the cards?

#

Or is it based on the poker hand?

#

Because... oof

#

Oh I...sort of see

#

So each card has a variable for the number and each card has a variable for suit.
Damage: 1d{variableName}+{dexterityMod}[{damageType}]

#

Since you're setting the die size with your variable

#

I assumed you're setting a variable for the damage type as well, based off the d4 roll

viscid kernel
#

Variables have to result in an integer, not a string.

#

So the damage type check would have to happen there in the damage.

#

1d{{die}} + {{dexterityMod}} [{{'force' if suit == 1 else 'radiant' if suit == 2 else 'psychic' if suit == 3 else 'necrotic'}}]

flat drum
#

Ah right

white cave
#

So after adding that code into this section (assuming that this is the right one, lmao), what do I do next?

flat drum
#

Hit save

#

Try it

#

Come back with errors

white cave
#

It's doing damage, Avrae is DMing me the results for some reason, but it shows this message in the actual server:

flat drum
#

Do you have a text field that's blank?

#

And Avrae always DMs the monster damage to the GM

white cave
#

Ohhhh, okay!
And ye, did forget the text field, lmao

flat drum
#

Now, if you wanted to get fancy... you can make the description tell what card you drew

#

Instead of just the type

white cave
flat drum
#
{{caster.name}} drew the {{'ace' if int(card)==1 else 'jack' if int(card)==11 else 'queen' if int(card)==12 else 'king' if int(card)==13 else card}} of {{'hearts' if.....```
#

Hopefully you get the idea

white cave
#

Yup! I'll fill it out shortly~

flat drum
#

You should only need to specify the non-number cards

white cave
#

Done, and it works! Thanks a bunch~

Btw, this works great for drawing single cards, but is there a way to draw a hand of five cards and have them each deal their individual damage as a single command, rather than do the regular attack 5 seperate times?

viscid kernel
#

Yeah, there is.

#

Figured it would be easier to get one card working and then expand it.

#

What I’d do at this point is export the attack, using the little arrow icon in the top right corner.

#

Then you can directly edit the code, which would make the duplication here a little easier.

#

But ultimately, you’ll need to duplicate the rolls and variable node for however many cards you want to draw.

#

And make sure they all have unique names. (card2 is good enough, IMO.)

white cave
white cave
#

Finally done; had to do it the long way since the thing wouldn't let me import the code, but it's in and working now!

white cave
#

Actually, bringing this back up due to finally being free again, since I got quite busy last night and this morning.

While the code does indeed work quite well, I was wondering if I could get walked through the process of altering it so that I don't roll duplicates within the same hand of 5 cards?

viscid kernel
#

You’d have to write it as an alias instead through the automation engine. It’s a completely different approach.

#

It would make the process of drawing cards easier, but you’d have to manually implement things like targeting, attack rolls, damage, etc. that the automation engine normally gives you for free.

white cave
#

Could you possibly walk me through that process please? So I can see what the pros/cons of either approach are for myself

flat drum
#

Couldn't you do rerolls for suit on the other cards?

#

Oh it's 5 cards

#

I was thinking

roll: 1d4
name: suit
...
roll: 1d4rr{suit}
name: suit2
...
roll: 1d4rr{suit}rr{suit2}...```
wheat gardenBOT
#

@flat drum :game_die:
Result: 1d4rr1rr2rr3 (1, 4)
Total: 4

flat drum
#

It would heavily reduce the chances of a dupe

viscid kernel
#

That eliminates the whole suit, though, and not just that one card.

flat drum
#

Would be better to do it with the numbers

viscid kernel
#

And with four suits, you’d have to reuse one.

flat drum
#

But yeah

viscid kernel
#

In this case, you’d want it to run the !embed command.

flat drum
#

That would be cool as an alias since you could do extra damage with a pair, full house, etc

viscid kernel
#
!multiline
!alias card embed -title "{{name}} draws a magic card!"
!card
flat drum
#

Wut

viscid kernel
#

Building blocks

#

An alias can also run code called Draconic, which is what you’d use to draw the cards, resolve the target, roll the attack, and apply the damage.

#

So the embed itself is ultimately just displaying the result.

flat drum
#

would alias the !a command

#

And have an attack with 0 damage

viscid kernel
#

And then pass in the processed cards as -ds and -fs?

#

Yeah, that could work.

flat drum
#

Randchoice a dict of cards, with their effects in a dict, list (or tuple)

Ace of Spades:
 - 1d12
 - '[acid]'
King of Spades:
 - 1d10
 - '[acid]'
...```
#

Doing the poker hand bonuses would be harder

white cave
#

Oh, I have a plan for the hand bonuses as a sperate thing already, so no need to worry about that!

However... sorry, but I'm struggling to wrap my head around what you guys are saying Derp Bit of a dummy when it comes to this kinda stuff, lol

Could you possibly break it up into steps for me to implement, please?

viscid kernel
flat drum
#

It's very different from the dashboard and there is no real good place to start other than the !deck alias on the Avrae Development Server maybe.

cursive raptor
#

If yall are free can I ask a question?

viscid kernel
#

Ask away!

cursive raptor
#

is there a command, or some kther method to pull up the code behind a preexsisting attack?

viscid kernel
#

Depends on what exactly you’re looking for, honestly.

#

You can also hit the scanner icon there to copy a wide variety of monster attacks from the Basic Rules and see how those were set up.

#

But you won’t be able to see the built-in attacks imported from your character sheet.

#

Is there something specific you were looking for, though?

viscid kernel
# white cave Oh, I have a plan for the hand bonuses as a sperate thing already, so no need to...

This draws the cards and avoids duplicates, but it doesn’t yet display the actual cards drawn:

!multiline
!a add "Magic Card" -b dexterityMod+proficiencyBonus -d 0
!alias card a "Magic Card" <drac2>
numCards = 5
cards = []

suits = [['clubs', 'force'], ['hearts', 'radiant'], ['diamonds', 'psychic'], ['spades', 'necrotic']]

while len(cards) < numCards:
  num = randint(1, 14)
  die = 8 if num == 1 else 4 if num < 10 else 6
  suit, dtype = randchoice(suits)
  card = {'num': num, 'die': die, 'suit': suit, 'dtype': dtype}
  if card not in cards:
    cards.append(card)

out = [f'-d "1d{c.die} [{c.dtype}]"' for c in cards]

return ' '.join(out)
</drac2>
cursive raptor
#

ah got it thanks, and tryna make an alias for the tentacle rod for a friend

#

mostly seeing if there was a way to shortxut it and find that before starting on something new

viscid kernel
#

Should be pretty easy to do there on the dashboard.

#

The tricky thing for this — if you want it all in one — will be determining if all three attacks were used against the same target.

#

But you could just make two separate attacks if you want to skip that headache.

#

One for the actual attack, and one for the save.

cursive raptor
#

i’ve got the two attacks made now gonna skip the headache until I get my pc running again

#

phone coding isnt fun

flat drum
#

At least now you can do it.

#

A couple months ago you would have thrown your phone across the room after 20 minutes of frustration.

cursive raptor
#

Actuslly hindsight, might make the second attack into a snippet if possible then use the alias to just run them both at the same time

viscid kernel
#

Snippets can’t cause saving throws, I’m afraid.

#

Or see the targets for an attack.

cursive raptor
#

thats the conclusion I have arrived at after multiple attempts

dim wedge
#

{{[[4d6kh3]][[4d6kh3]][[4d6kh3]][[4d6kh3]][[4d6kh3]][[4d6kh3]]}}

flat drum
#

What are ya trying to do there?

cursive raptor
#

I’m back, made a gvar for the stun, made an attack fir the tentscles, is there a way to use an if statement to determin whether or not it needs to roll the save, only wluld if the attack hits

#

reading through cheatsheets and dint see anything as of yet

flat drum
#

Make the attack,

on hit: damage
add save

cursive raptor
#

thats true, can just export from the dashboard

wanton hatch
#

What is the avrie camand to start combat i n discored

flat drum
#

!init begin

wheat gardenBOT
flat drum
#

@wanton hatch

uneven rapids
#

How do you change a spell's damage type in avrae?

viscid kernel
#

-dtype fire

#

Or for a spell like Ice Knife that has multiple types normally: -dtype cold>fire

uneven rapids
#

Ty

flat drum
#

For save type spells the change only shows up if you target in combat.

late elmBOT
#

Service Outage, June 21 12:00 AM PST
A Cloudflare outage is currently affecting all Discord bots (and a good chunk of the internet at large), including Avrae. Avrae will appear offline until this is resolved.

You can keep up to date with the latest news at https://www.cloudflarestatus.com/.

cursive raptor
#

when jt comes to evasion on dex saves from a dashboard attack, is it a oh well add the health back situation?

viscid kernel
#

Pretty much, yeah.

native galeBOT
#

v4.0.8 (1605)
https://github.com/avrae/avrae/releases/tag/v4.0.8

Improvements

  • Implemented Cleric, Ranger, Artificer, and Druid class features using v4 Automation features
  • Added spell_dc and spell_attack_bonus metavars to the Automation Engine
  • The Use Counter automation node now hides the delta if the delta was 0
  • The Target automation node now binds the targetIterations metavar

Bug Fixes

  • Fixes an issue where clicking a button on a combatant's turn start message on another combatant's turn would edit the turn start message to the wrong combatant
  • Fixes a missing error message in AliasSpellbook.slots_str
  • Fixes an issue where the nopact argument did not work in Use Counter automation nodes
  • Fixes various issues related to buttons in groups in combat
  • Various automation fixes to spells
charred aspen
#

Hey guys can I get some help with something

flat drum
#

With what?

charred aspen
#

I’m in a westmarch that has Avrae but for some reason when I’m trying to add exp to the sheet on Avrae it’s overflowing and not leveling up

#

I should be at lvl 10 but it won’t register any changes past level 4

#

And yes I have changed the dnd beyond sheet to match

flat drum
#

Did you !update ?

charred aspen
#

It’s always been the exact same

charred aspen
#

20 TIMES

#

It’s never worked

flat drum
charred aspen
#

And those

#

Are some example of what we are seeing

#

Idk what else I can post

keen mauve
#

my eyes

keen mauve
charred aspen
#

Well

#

Lots of others has seen the negative exp thing

#

But none have affected the levels

#

And the abilities they can use

#

Or if there are issues I’ve not seen them

keen mauve
#

Yeah so the xp alias isn't correctly connected to your character

#

It's just a tracker

charred aspen
#

Ok what is the proper connect command

flat drum
#

There isn't any command

keen mauve
#

My guess is that it's a formatting error, perhaps with copying from outside of a code block, but not sure

charred aspen
#

Well idk what to do about that then

flat drum
#

!xp just keeps track of a number via Discord for ease of use

#

Your leveling up is done on your sheet.

charred aspen
#

Yeah I know

#

And I have done so

#

My dnd beyond sheet is correctly updated as per the amount of exp I have received from quests

flat drum
#

yup. shows you as level 10

#

I would try to help more but you're using an alias that isn't working properly and has deprecated code. If you use the new version, the old version won't work at all.

charred aspen
#

Yeah it’s not your fault m8

#

I just told the server runner what you told me

#

Only solution we have left is to remove my old character from the bot character bank and to re add the old one

flat drum
#

Are you sure you !updated with the correct character? All your attacks and whatnot are all correct?

#

checks and saves ok

charred aspen
#

Yea

#

I have literally the one character on the server

flat drum
#

characters aren't really server specific

#

You can set a character to be server specific

#

but if you have multiple characters, which ever is active on one server will be active on all unless you set the server character

charred aspen
#

Wait



#

Hang on

#

I attached an old character to another server with Avrae

#

I left the server

flat drum
charred aspen
#

But the character I used for both had the same name and most all the same feature

flat drum
#

that's the issue then

#

almost 100%

#

I would avoid characters with the same name.

#

If your !xp isn't matching you can do !sheet and see what sheet you are on

charred aspen
#

Welp.. thanks anyways m8

#

I’m such a dumb

charred aspen
#

Hey uh question again related to my first one

#

How do I pull a character off Avrae

hushed lotus
#

!character delete <name>

charred aspen
#

Thx

flat drum
#

!help character will pull up the options

north coral
#

Whats the command for rolling hit dice during a short rest?

fickle salmon
#

There isn't a built in command for rolling the hit dice using !game shortrest or !g sr.

north coral
#

Ah yes I noticed that but have seen other people do it. So it must be a custom alias?

fickle salmon
#

Yes. There's an old alias called !sr that may or may not still be available on the Avrae Development Discord.

#

Ah, good. It's still available and has apparently brought up to non-deprecated standards.

narrow pollen
#

So has avrae stopped working

keen mauve
#

There's an update getting pushed out

#

Probably will be down for 10-15 more minutes, roughly

narrow pollen
#

Oooooh , thank you

native galeBOT
#

v4.0.9b (1607)
Improvements

  • Implemented Fighter, Monk, Bard, Paladin, Barbarian, and Wizard class features using v4 Automation features
  • Minor backend updates
keen mauve
#

Scratch that

#

Right now

narrow pollen
#

Oh fun 😂

flat drum
#

Almost every Tuesday at this time

uneven rapids
#

how do you make custom damaging AoEs in avrae?

flat drum
#

What do you mean? A custom attack that requires a save?

#

You can make custom spells in a Tome (!help tome), and custom actions/attacks for your character via the Dashboard!
https://avrae.io/dashboard
If you go to characters, and click on the wrench on your character's portrait, you can create a new attack/action.

uneven rapids
#

I mean on a monster, say they can create a sandstorm in an AoE that deals damage to creatures that start their turn in it

flat drum
#

Official monsters have abilities like that automated already.

If you're talking about homebrew monsters on critterDB, you can build the automation on your character and apply it to a monster.

#

If you are looking to make something on the fly that does a save, like custom traps or storms that only happen once in a while or are not attached to a specific monster, you can either make a DM sheet and create custom attacks or use the !use alias.

#

The !use alias allows you to target a few combatants, have them make a save and applies damage.

uneven rapids
#

i see

#

ty

uneven rapids
#

uhh the creatures tab in the homebrew section of the dashboard doesn't appear to be working

#

unless im doing a dumb here

viscid kernel
flat drum
#

You may have popups disabled

#

??

#

It didn't work for me just now either

uneven rapids
flat drum
#

Yes, but it should

flat drum
#

Please don't ping me with questions

#

!help attack shows you can do -c to add a crit bonus

#

-c {level} would work in a snippet

viscid kernel
#

Yeah, feel free to just ask any questions you have. Plenty of folks here ready to answer them. đŸ‘đŸ»

#

That should be valid.

#

!a dagger hit crit -c 17, for example.

flat drum
#

It only adds the damage on a crit

strong kraken
#

How exactly do I set up the initiative tracker?

keen mauve
#

You use !init begin

#

If you're not familiar with the bot, I'd recommend running the !tutorial command to familiarize yourself.

fading bloom
#

How does someone use wildshape or natural recovery on avrae?

flat drum
#

There are a couple aliases that handle those abilities nicely.

#

!wildshape and !recover are both hosted on the Avrae Development Server

uneven rapids
#

how do i draw circular overlays on the !map?

flat drum
#

I would ask questions about the !map alias in the !map server, but there are instructions in !map help over

#

Basic Overlays
-over circle,<radius>,<color>,<center> - Draws a circle centered on a coordinate.
-over circletop,<radius>,<color>,<topleft> - Draws a circle from the top left coordinate.
-over circlecorner,<radius>,<color>,<topleftcorner> - Draws a circle centered on the top left corner of a coordinate.

native galeBOT
#

v4.0.10 (1608)
https://github.com/avrae/avrae/releases/tag/v4.0.10

Improvements

  • Implemented Warlock, Sorcerer, Blood Hunter, Feat, and Race features using v4 Automation features
    ※ This completes all of the player action updates to the new system.

  • Added the ability to grant bonuses to your class Saving Throw DCs by creating a cvar: xDCBonus (WarlockDCBonus, BloodHunterDCBonus, MonkDCBonus, etc).
    ※ This is to account for items such as the Dragonhide Belt, which adds a flat +1/2/3 bonus to the save DC for your class.

  • Various backend and documentation improvements

Bug Fixes

  • Fixes an issue where automation that targeted the caster out of combat did not always commit the caster
  • Fixes an issue where concentration spells without automation did not always commit the concentration effect in combat
  • Fixes an issue where the legacy item tag was not displayed on certain items
  • Fixes an issue where an error message would direct users to purchase content that is no longer available for sale
  • Fixes an unhandled error when using !init status on combatants with names/effect names longer than 2000 characters
meager parrot
#

How do I do hidden rolls?

keen mauve
molten lava
#

What would the command look like to roll 3 sets of stats with a set minimum of say 72?
[6:59 PM]
I have seen it done in Avrae but don't remember the command.

empty linden
#

To roll 3 stats with a minimum threshold with Avrae there is an alias you can get at the Avrae Discord server - visit Avrae.io to find the server.

molten lava
#

TY I'm trying to self teach and having a rough go at it. @empty linden

molten lava
#

ty
[7:17 PM]
!threshold -dice 7d20kh3 -min 75 -rr 3
[7:17 PM]
Like this? @empty linden

empty linden
#

Yes - but first you need to grab the alias off the Avrae developer server - use the #alias-lookup channel there to find it

viscid kernel
#

Nah, just use the built-in !rollstats.

empty linden
#

Or that

#

Actually Threshold may now be in a workshop collection...

viscid kernel
#

You can set it up using !servsettings to specify a minimum total.

#

Type !servsettings, then click “Custom Roll Settings” and “Set Minimum”.

lucid lichen
uneven rapids
#

!map -over line, 10, 1, B, T12, K12 -t DM

Is there anything wrong with this command? Cuz nothing is happening

viscid kernel
#

I haven’t used !map, but typically arguments with spaces need quotes around it.

#
!map -over "line, 10, 1, B, T12, K12" -t DM
uneven rapids
#

Didnt work, i believe the overlay command doesnt require quotations

viscid kernel
#

That’s certainly possible, since it’s a user-made alias.

#

And that’s the very trouble with them, too. A lot of times, only the creator knows how it works. 😅

flat drum
#

Typically you don't include any spaces in that command

#

!map -over line,10,1,B,T12,K12 -t DM

#

This is the best place for help with the !map alias

flat drum
#

@uneven rapids

uneven rapids
#

Ah, thank you

noble smelt
#

is there a command in avrea for wild shape or is it easier to track on dnd beyond sheet?

worn nymph
#

Is this where I would raise an issue with an incorrect DC for an official monster coded into Avrae? Or would that be over on the Avrae dev server?

empty linden
empty linden
flat drum
#

There is a wildshape alias on the Avrae Development Server

#

It might be getting an upgrade once Avrae 4.1 rolls out.

flat drum
feral quail
#

does anybody know why one of my players is getting this when he does cure wounds in Avrae "Healing: -(1d8mi8 (1 -> 8) + 2) [magical heal] = -10" ?? It's not what I usually see.

viscid kernel
#

What’s the exact command they’re using?

#

Are they a Life Cleric, by chance? Level 17 or higher?

random pagoda
#

What is the command for setting the height of a combatant in avrae map

flat drum
#

!map is not built-in to Avrae

random pagoda
#

Oh

#

Alrighty

feral quail
#

"!i cast cure wounds -t (individual)" is what he was using

flat drum
#

!cast "cure wounds" -t targetName

viscid kernel
flat drum
#

You need quotes for two word spells. You might have a wounds snippet

feral quail
#

ok thanks - will put quotes on two word spells.

#

how do I check if there is a wounds snippet? Thanks

flat drum
#

!servsnippet wounds or !snippet wounds (that player can run !snippet wounds too)
It could also be possible that player has a homebrew spell. It's hard to say.

What part of the casting was odd? The mi8 ?

feral quail
#

"mi8 (1 -> 8)" usually I see 1d8(a numerical value from 1 to 8) - this almost looked like it maxed the value.

viscid kernel
#

That’s exactly what it does.

#

-mi <value> - Minimum value of each die on the damage roll.

flat drum
#

Which is why Spam asked if they were a life cleric

viscid kernel
#

Starting at 17th level, when you would normally roll one or more dice to restore hit points with a spell, you instead use the highest number possible for each die.

#

But I just tried creating a life cleric of my own at that level, and it didn’t do that, so


flat drum
#

Yeah I don't think official spell automation would do that which is why I suggested a Tome

#

Spells can only detect class levels, not subclass

sturdy torrent
#

I had a long conversation the other day based around Firearms being Kensei weapons. Eventually he just pulled them up on Avrae and said I was wrong as they weren't listed as Martial weapons, at which point I went to the DMG, screenshotted and showed him otherwise. Is there a reason firearms aren't listed as Martial through Avrae?

flat drum
#
It’s up to you to decide whether a character has proficiency with a firearm. Characters in most D&D worlds wouldn’t have such proficiency. During their downtime, characters can use the training rules in the Player’s Handbook to acquire proficiency, assuming that they have enough ammunition to keep the weapons working while mastering their use.``` from the Basic Rules
#

This is my guess, as well as them not being listed as Martial on Beyond.

#

Avrae pulls her information for items directly from Beyond, which updates their information based off current decisions from WoTC.

hushed lotus
#

but they are martial on beyond

hushed lotus
flat drum
#

this is from the DMG, which still lists them as 'optional'

#

saying it's up to the GM to decide

hushed lotus
#

yeah, so's my screenshot

#

literally, right there. in the DMG - Martial Ranged Weapons.

flat drum
#

Yes, but if you look at any specific weapon, it doesn't show as Martial

hushed lotus
#

then Beyond's messed up after all...

flat drum
#

I don't work for Beyond, I'm just guessing as to why they have it listed as such.

sturdy torrent
#

And just because they're optional doesn't make sense to me. They might not be allowed in every game, but for the ones they are allowed they should be listed as Martial

steady dew
#

Honestly, a single toggle for "yes firearms" or "no firearms" would fix so many issues with its listing, and they should also be listed as martial in avrae...

flat drum
#

You're actually kinda right and not. In the section in the DMG they're listed in, they're martial ranged weapons but they're not covered by the same proficiency as martial ranged weapons. However, if you search for them in equipment listings, they're down as Firearm Ranged Weapon

#

¯\_(ツ)_/¯

#

It would be nice if any weapon you added to your character had a spot to click for "proficient", but you can easily add your proficiency as a bonus to your attack.

native galeBOT
#

Avrae v4.1.0
@Changelog Follower
v4.1 adds the ability to create and edit the new v4 initiative effect automation node on avrae.io using the Automation Editor redesign, add v4 initiative effects to combatants through aliasing methods, imports in Draconic, and more.

Read on for more details!

New Feature: Automation Editor Redesign
In order to utilize the full power of IEffect2s, Ability Check nodes, and improve the overall look and feel of the Automation Editor, we've redesigned and rewritten the automation editor on https://avrae.io! You can see it in action by editing your characters' attacks on the dashboard, in the homebrew tome editor, or on the automation playground.

Pro tip: Hold CTRL or CMD when clicking on a node's dropdown arrow to expand or minimize all of its children, too!

#

.
Aliasing IEffect2 Update
We've updated the SimpleCombatant.add_effect() method with IEffect2 parameters to allow alias and snippet authors to create effects that grant complex actions and one-click-automation buttons completely programmatically. Check out the documentation at https://avrae.readthedocs.io/en/latest/aliasing/api.html#aliasing.api.combat.SimpleCombatant.add_effect to see the new arguments and some examples of how to use them!

We've also updated how to supply passive effects to use the new passive_effects parameter, and as such the old args parameter is now deprecated.

  • Added passive_effects, attacks, and buttons parameters
  • The duration parameter is now optional and accepts None for indefinite duration
  • The args parameter is now optional and has been deprecated
  • Breaking change: add_effect() now returns the added SimpleEffect

New Feature: Draconic Imports

!test <drac2>
using(
    hello="50943a96-381b-427e-adb9-eea8ebf61f27"
)
return hello.hello()
</drac2>

Imports are now available in the Draconic runtime! By placing code that's commonly used across multiple aliases in a global variable, you can now create common "modules" exposing a library of functions that can be imported inside aliases and snippets. You can use this to cut down on code duplication and maintenance, or expose a public library for your aliases for other authors to interact with your aliases!

Check out the documentation at https://avrae.readthedocs.io/en/latest/aliasing/api.html#using-imports, and the example modules using !gvar 50943a96-381b-427e-adb9-eea8ebf61f27 and !gvar 0bbddb9f-c86f-4af8-9e04-1964425b1554.

  • Added using() to import gvars as modules in the current namespace
  • Added function.name and function.doc to access a function's name and docstring, similar to Python's __name__ and __doc__
#

.
!init add Improvements
Thanks, @Julius Caesar | Please ping me 😁!

The !init add command now supports setting the added combatant's ability scores, proficiency bonus, proficiencies, creature type, CR, and more! See !help init add for a list of all the new added arguments.

  • Added arguments to set basic combatant's ability scores/stats
  • Added arguments to set basic combatant's creature type and CR
  • Added support for the -n argument to add multiple basic combatants at once

Other Improvements

Bug Fixes

  • Removed light themes from avrae.io
  • Fixed an issue where certain commands and alias methods would error when used in Forum channels
  • Fixed an issue where the sleightOfHand and animalHandling keys in the check_adv/check_dis IEffect2 passive effects were not seen as valid due to casing rules
  • Fixed an issue where the onError value in a Set Variable Automation node would not run if the error was encountered after evaluating the expression
  • Other minor bug fixes and improvements
final flower
#

does avrae always use the lower spell attack and save dc when you multiclass bc this is shown when yo do ! spellbook ?

viscid kernel
#

In !sb specifically, I think it just shows them for whatever class you learned first.

#

Same as the top of the Spells tab on your character sheet.

#

But when you !cast individual spells, it should use whatever class is associated to that spell.

undone vortex
#

How does one role adv or disadv on avrae?

flat drum
#

!check stealth adv

#

!c stealth dis

#

If you're only using the !roll command: !roll 2d20kh1 for adv

#

!r 2d20kl1

viscid kernel
#

adv and dis work for !roll as well.

flat drum
#

Oh yeah if you're rolling a d20

#

also !2

maiden jacinth
#

Anyway to fix this?

empty linden
#

Have you had a long rest in your campaign? If so use !g long to tell Avrae that you have and it should restore HP and spell slots as expected.
Also run the !update command to ensure that Avrae has the latest data from your DnDBeyond character sheet.

#

Sorry that should be !g longrest

maiden jacinth
#

done all that :/

steady dew
#

or just !g lr

empty linden
#

And the spellslots are not being restored?

#

That is pretty weird and unexpected behavior

maiden jacinth
#

the slot's are empty yeah

steady dew
#

is this in initiative?

maiden jacinth
#

I was just testing them out before we got into another fight as we just leveled up aha

empty linden
#

Maybe try ending initiative and then doing a long rest

maiden jacinth
#

I just task manager closed discord and reopened, that seemed to have fixed it. Cheers

steady dew
#

what

empty linden
#

Interesting. Perhaps some unexpected Discord caching...

maiden jacinth
#

Not a clue, all I know is it fixed it haha.

flat drum
#

Very odd

calm tide
#

is there a store i can set up on avrae if so how do i use it or the economy?

empty linden
#

You can check the Avrae Dev server (see Avrae.io) for any user created and shared aliases that might provide store-like features.

native galeBOT
#

v4.1.1 (1611)
@Changelog Follower
https://github.com/avrae/avrae/releases/tag/v4.1.1

Improvements

  • Added the ability to define what action type custom actions are displayed as in !a list
  • Added the norecord arg to !init begin to opt a single initiative instance out of NLP recording for participating servers
  • Improved the handling of arguments to reduce the overall number of argument conflicts (e.g. -t d1)
  • Added AliasCharacter.get_cvar(), get_uvars(), and get_uvar() to the Draconic runtime (thanks @Byronius!)
  • Various backend improvements and automation fixes

Bug Fixes

  • Fixes an issue where monsters added to initiative using the -name argument would add an extra number after the name
  • Fixes an issue where SimpleCombatatant.add_effect could raise an error when using the passive_effects, attacks, or buttons parameters on a combatant reference obtained through SimpleGroup.get_combatant()
  • Fixes an issue where certain Ability Check automation nodes saved without child effects could become uneditable in the automation editor
late elmBOT
#

Scheduled Maintenance: <t:1658296800:f>
@Announcement Follower
In order to fix an issue generating tokens for D&D Beyond character sheets using the !token command, we will be performing maintenance on Avrae tonight at <t:1658296800:t> (displayed in your local time zone).

native galeBOT
#

v4.1.2 (1612)
@Changelog Follower
https://github.com/avrae/avrae/releases/tag/v4.1.2

Bug Fixes

  • Fixes an error when generating a token for characters imported from D&D Beyond
  • Fixes the role names required to edit server homebrew requiring lowercase instead of title-case
dreamy zephyr
#

is it possible for a snippet to interact with a custom counter?
for example if I use !a cr ma the bot would do a crossbow attack using my meanacing attack snippet but then I would have to !cc sup -1 right after. Is there a way to do both in 1 line?

fickle salmon
#

Simple answer is yes. The execution is a little trickier.

dreamy zephyr
#

is there a page/faq that explains how to set that up?

flat drum
#

It's really better to use the menacing action after a hit

#

When you hit a creature with a weapon attack, you can expend one superiority die to attempt to frighten the target. You add the superiority die to the attack's damage roll, and the target must make a Wisdom saving throw. On a failed save, it is frightened of you until the end of your next turn.

dreamy zephyr
#

I was wondering if I could condense it into 1 line because of laziness tbh

flat drum
#
  1. It's something you decide after you hit.
  2. It involves a save, which snippets can't do.
dreamy zephyr
#

my group doesnt use init or whatever to track targets so the saving roll needs to be done manually by dm anyways

flat drum
#

Ah well that's easier

dreamy zephyr
#

yeah I can just use dndbeyond to track my dice worst case senario I just find using the cc command after clunky

flat drum
#

But it would still use the counter wether you hit or miss

dreamy zephyr
#

thanks for the help though PES_ThumbsUp

flat drum
#

You can make a custom action on the dashboard that shoots a crossbow and on a hit uses a counter

dreamy zephyr
#

I was looking at the custom attack stuff on dashboard but couldnt figure out how to make it use a weapon, I assume id have to hardcode in a crossbow which would be even more pain later on when I get different weapons

#

its honestly also a lot of effort when I could just tick a checkbox on beyond instead

viscid kernel
#

You’d give it an attack and damage with the same stats as your weapon.

flat drum
#

You can also do !a cros then !a menace

gusty egret
#

!help alias and !help multiline