# DPS Damage Balance Calculator AI Agent Connect

> Deterministic combat math for calculating raw DPS, effective DPS, and time to kill.

## Overview
- **Category:** utilities
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_eJWoAW38lsJNbpQkRy70Q6emFmRPKLsnEMqUz1rL/ai-agent-connect
- **Tags:** combat, dps, game-design, math, balancing

## Description

This MCP server provides precise combat mathematics for game designers and combat balancing. It calculates the relationship between weapon statistics and enemy survivability using a deterministic model. Use `calculate_raw_dps` to find base damage rates, `calculate_effective_dps` to account for critical hits, elemental bonuses, and armor mitigation, or `calculate_combat_metrics` to determine the exact time to kill and total damage dealt during an encounter.

## Tools

### calculate_combat_metrics
Calculate high-level combat outcomes like time to kill and total damage dealt over a duration

### calculate_effective_dps
Determine the actual rate of damage applied to a target after accounting for crits, elemental bonuses, resistances, and armor

### calculate_raw_dps
Calculate the base damage rate before any modifiers or mitigations

## Prompt Examples

**Prompt:** 
```
What is the raw DPS for a weapon with 50 base damage and an attack speed of 1.5?
```

**Response:** 
```
The raw DPS is 75.0.
```

**Prompt:** 
```
Calculate the effective DPS for a weapon with 100 base damage, 2.0 attack speed, 20% critical chance, 2.0 critical multiplier, and 10% elemental bonus against an enemy with 50 armor and 5% resistance.
```

**Response:** 
```
The effective DPS is 171.43.
```

**Prompt:** 
```
How much total damage will be dealt in a 10 second fight with an effective DPS of 50 against an enemy with 500 HP?
```

**Response:** 
```
The total damage dealt over the 10 second fight is 500.0.
```

## Frequently Asked Questions

**How is effective DPS calculated?**
Effective DPS is calculated by taking the raw DPS and applying modifiers for critical strikes and elemental bonuses, then reducing it by the enemy's resistance and armor mitigation factors.

**Can I calculate how long a fight will last?**
Yes, you can use the `calculate_combat_metrics` tool to find the time to kill based on the enemy's health and the calculated effective DPS.

**What inputs are required for raw DPS?**
To use `calculate_raw_dps`, you only need to provide the base damage of the weapon and its attack speed.
