• RAW DATA
  • MODIFIED
  • TACTICAL
  • HUMAN

How to calculate modified damage with your agent

Connect once, then let your agent handle the math. It turns raw dice notation into final tactical results.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I calculate modified damage with my AI?

Give your agent a dice expression and a list of modifiers like resistances or critical hit rules. It processes the math and gives you the final damage number. You get the exact results for your combat encounter.

Combat outcomes

Where the math lands.

The engine processes your input into these specific results.

RAW DATA

Parsed dice rolls

Your agent breaks down your notation into base numbers. You get a clear view of the initial roll.

MODIFIED

Final damage totals

The engine applies all resistances and bonuses. You receive the actual number to subtract from health.

TACTICAL

Critical hit logic

Your agent checks if a roll triggers a crit. You see the expanded damage immediately.

HUMAN

Rule decisions

Your agent handles the arithmetic, but you decide if a specific modifier applies. You keep control of the game.

The workflow

What your agent does when the damage expression arrives.

The engine moves from raw notation to a final number through these steps.

  1. Deconstruct the roll

    Your agent looks at your input, like '2d6+4', and identifies the dice type and static modifiers.

    parse_damage_expression
  2. Apply combat rules

    The engine takes the parsed roll and factors in things like elemental resistances or advantage.

    evaluate_modified_damage
  3. Check for crits

    Your agent determines if the roll meets your specific critical hit thresholds.

    evaluate_modified_damage
  4. Output results

    The final, adjusted damage value is presented to you in the chat.

    evaluate_modified_damage

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute RPG Damage Engine tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to trigger the engine.

Starting points

Swap out the dice rolls and modifiers for your specific game rules.

RPG Damage Engine Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_hz932Ib1LJJakHHEMIEyubRH9IOy21AYqlM3yoAY/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, RPG Damage Engine capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "rpg-damage-engine-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_hz932Ib1LJJakHHEMIEyubRH9IOy21AYqlM3yoAY/mcp"
    }
  }
}
Copy into chat04
  • 01

    Calculate the damage for 2d10+5 with fire resistance applied.

  • 02

    What is the total damage for 1d20 with advantage and a critical hit?

  • 03

    Apply a +3 magic bonus to a roll of 3d6.

  • 04

    Calculate 1d12 damage against a target with half physical resistance.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect RPG Damage Engine once, then ask.

One connection links this engine to your AI client. Your credentials stay encrypted and the setup is handled on our end.

Connect RPG Damage Engine to your agent

FAQ

How the engine behaves

  • 01

    Can your agent change my character sheet?

    No. Your agent only calculates the damage values you ask for; it does not have permission to write to your external game sheets.

  • 02

    Does it handle custom dice like d8 or d12?

    Yes, the engine parses standard dice notation including any common dice types.

  • 03

    Can your agent decide if a hit lands?

    No. This engine is for calculating damage results. You must determine if the attack hit or missed based on your game's mechanics.

  • 04

    Will it remember my resistances from previous turns?

    No. You need to include the relevant resistances or modifiers in your prompt for each calculation.

  • 05

    Can I use this for non-standard RPG systems?

    Yes, as long as you provide the dice expression and the specific modifiers you want applied.

  • More questions about RPG Damage Engine? The Connector page answers them. See everything the RPG Damage Engine Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from RPG Damage Engine to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    RPG Damage Engine plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect RPG Damage Engine to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.