Tabletop Simulator

Tabletop Simulator

Not enough ratings
Erik's D&D Tools - Attack
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
52.983 KB
14 Apr, 2022 @ 1:12pm
21 Apr, 2022 @ 7:23pm
3 Change Notes ( view )

Subscribe to download
Erik's D&D Tools - Attack

Description
What's This?
A panel that manages pre-stored NPC attacks, rolling and applying modifiers with one click.

How Do I Use It?
  • Copy or spawn the Attack object from this mod into your game
  • Click any of the presets (e.g., "Lyriel (Sword)") to execute the attack
  • The attack's result is printed to chat and the broadcast window (at the top)

Details
  • Latest version is 1.2
  • The attack's text is only shown to the person who clicked the attack button
  • Attack button colors are generated based on the attacker's name (to group them visually)
  • To create your own attack, type its text in the Description field, and click Save
  • Lock / Unlock controls whether other scripts (e.g., the Encounter mod) can affect attacks
  • Clear clears all attacks
  • The C button next to an attack copies its text into the Description field
  • If you don’t know what a button does, right-click it for help
  • Feel free to leave questions in the comments!
  • Attacks must be in a form that can be parsed; some supported examples:
    • Lyriel (Sword): +4 vs. AC, 1d4+1 pierce
    • Lyriel (Dagger):+4vs.AC,1d6 + 3 slash
    • Lyriel (Axe): +4 vs. AC, 1d6+2 pierce, 2d4+6 necrotic
    • Lyriel (Bow): +14 vs. AC, 10d60+20 pierce
    • Lyriel (Chill Touch): Wis save vs. 14, 1d6+2 pierce
    • Thurgrum (Hammer): +2 vs. AC, 1d12-1 bludgeoning
    • Thurgrum (Headbutt): 1d4 bludgeoning
    • Thurgrum (Special): +5 vs. AC
    • Thurgrum (Blast): Dex save vs. 15
    • Vineling (Spores): 10 damage
    • Vineling (Fist): +2 vs. AC, 2d4+3 pierce; Target must move 3 spaces
    • Vineling (Venom): Con save vs. 15, 3d6 acid, 2d6+1 poison; half damage on save
    • Vineling (Reap): +12 vs. AC, 4d6 + 11 force; half damage on miss, reach 20
    • Spectral Horde (Wail): Wis save vs. 18, 2 psychic; half damage on save, damage is per specter

Attribution

Thanks
…for checking out the mod. If you like it, give a thumbs-up!

Other Mods
Lets minis (and other battle objects) do things like fly, auto-scale, and highlight
Stores NPC attacks as presets, rolling and applying modifiers with one click
Manages playlists that all players can hear
Manages a tablet, sizing and placing it to be a tablet, table surface, poster, etc.
A decorated play space in which you can host a game (not scripted)
A streamlined dice-roller that automatically cleans up its dice
Controls weather effects (rain, snow, fog) across the table
Saves and loads marked objects in an encounter (similar to OneWorld)
A collection of encounters for use with the Encounter mod
A collection of enemy minis and initiative standees
Controls the environment (lighting, skybox) via one-click presets
Deletes objects dropped into it (good for non-promoted players)
Modifies an agent’s health (optional, requires the Agent mod)
Runs 5E-style initiative in a player-facing way
Implements house rules for inspiration and rest
A collection of AoE markers (works with the Agent module to auto-scale)
Stores text one a piece of paper (lockable, titled, supports multiple pages)
Moves / resizes all marked objects, good for modifying a scene to fit your table
Controls a GM screen via one-click presets
Controls global settings (table size, grid on table, hidden object visibility, etc.)
A table on which to play, including dice, dice trays, and portraits (not scripted)
Controls the image on the table via one-click presets
Updates all other mods listed here when they get scripting updates
6 Comments
KidQuesadilla 19 Apr, 2022 @ 4:05pm 
Works great I just misunderstood a few things thank ya!
Mr. Ugly  [author] 19 Apr, 2022 @ 12:32pm 
OK, I've investigated further. There were three issues: a bug in the text parsing, less-than-helpful error messaging, and some unsupported formatting in your attack. I've fixed the first and tried to improve the second. As for the third, here's the text you had, followed by what you probably want instead (in both cases, remove the quotation marks):

"Neon (Shocking Grasp): +7 to attack 2d8 damage removes reactions for a turn"

"Neon (Shocking Grasp): +7 vs. AC, 2d8 lightning; removes reactions for a turn"

There needs to be a comma separating the to-hit roll from the damage roll, and semicolon separating further text. Also, while "damage" is supported as a damage type, I thought you might need to be more specific (e.g., for dealing with barbarian resistances). So I subbed in "lightning," as that's what Shocking Grasp does.

Let me know if you run into more trouble!
KidQuesadilla 19 Apr, 2022 @ 11:23am 
idk ive tried but I'm gonna try again real quick.
Mr. Ugly  [author] 19 Apr, 2022 @ 10:33am 
Hmm, I can't repro locally; the examples listed above all seem to work. I right-click the control panel, enter the information in the Description field (not Name or GM Notes), and click Save. Note that the text pasted doesn't have the leading bullet from the list above, and that each attack should be entered individually. Here's a screenshot: https://imgur.com/a/z6tvd1h . Am I missing something?
KidQuesadilla 19 Apr, 2022 @ 10:18am 
I copy pasted your examples to see if I was doing something wrong and it still says I'm not starting with the name then the attack in parenthesis