Community
Product
Solutions
Academia
Resources new
Pricing
Company

Crit Attack Mechanic

About

--- Auto-Generated Description ---
The diagram models a "Critical Attack Mechanic" for a game, demonstrating how normal and critical attacks are calculated and the total damage they deal. It involves an interactive "Attack" source generating resources (representing the initiation of an attack), which are then distributed through a deterministic gate to two converters that handle normal and critical damage calculations, respectively. The amount of damage dealt in each attack type is influenced by the strength (STR) and attack power (ATK) of the character, which are stored in pools and factored into damage calculations through registers. 

The normal damage calculation takes STR and ATK as inputs and multiplies them, while the critical damage calculation also involves these inputs but further doubles the outcome to reflect the increased damage of critical hits. These calculations are fed into another set of pools that accumulate "Total Normal Damage Dealt" and "Total Critical Damage Dealt," respectively. A critical aspect of the mechanic is the probabilistic distribution of attack types; a resource connection diverts a portion of attacks to be treated as critical, significantly altering the damage output. This system allows for dynamic combat mechanics in games, where player attributes directly affect the damage potential in both regular and critical scenarios.

Tags

This diagram doesn’t have any tags yet
Edited more than 1 year ago
0
201

Enjoying what you see?
Show your appreciation by saving it with a click!

3 users this diagram

More from Franz Dar