Machinations
Community
Product
Solutions
Academia
Resources
Pricing
Company
--- Auto-Generated Description --- This diagram represents a combat simulation between two characters, specifically in a hand-to-hand engagement scenario akin to that found in the Overwatch video game. It illustrates the process of these characters attempting to deal damage to each other, incorporating the dynamics of closing distance before engaging and the impact of such engagements on the characters' health points (HP). At the start, both characters are assigned a starting HP value, and the simulation includes the mechanism of moving closer ("50m" to "0m" transition) to enable hand-to-hand combat. This transition is critical as it simulates the realistic approach phase in combat where distance must be closed before melee damage can be inflicted. Upon entering the effective melee range, the characters can deal damage to each other's HP through a series of automatic actions and checks. These interactions include resource flows representing the exchange of blows and the draining of HP. The diagram also integrates conditions that simulate death by transitioning to a "Die" state if a character's HP drops to zero, effectively ending the simulation for that character. State connections are utilized to monitor HP levels and to trigger transitions between states, such as reactivating a character's ability to attack or marking their defeat when their health is depleted.