Skip to main content

19 docs tagged with "damage"

View all tags

Combat

Manages combat logic including targeting, attack readiness, damage calculation, attack execution, and aggro behavior for entities.

CookieCutterDrill

Manages the drilling progression for a cookie-cutter boat leak repair mechanism, handling animation state and damage application upon completion.

Damagereflect

Provides a callback-based mechanism for reflecting damage back to attackers, typically used by the combat component.

Damagetypebonus

Calculates multiplicative damage bonuses based on target tags by aggregating source-specific modifiers per tag.

Damagetyperesist

Manages resistances to damage based on the tag(s) of the attacker or weapon applying the damage.

Drownable

Manages drowning and void-falling logic for entities, including damage application, item dropping, and teleportation behavior.

Explosiveresist

Manages resistance to explosive damage over time, including accumulation and gradual decay.

Flotationdevice

Prevents drowning damage and optionally executes custom logic when drowning is prevented.

Grue

Manages the darkness-based threat system that damages entities when they remain in darkness for extended periods.

Health

Manages entity health state, including damage, healing, regeneration, penalties, and fire damage handling.

Hullhealth

Manages hull integrity and leak damage for boats, handling collision impacts, degradation over time, and dynamic leak indicators.

Hunger

Manages hunger and starvation mechanics, including decay, damage application, and synchronization with the health component.

Lunarhailmanager

Manages spawning, physics, and impact behavior of falling debris during lunar hail storms, including damage application, shelter detection, and interaction with the world topology.

Planardamage

Calculates and manages planar damage by combining a base value with additive bonuses and multiplicative multipliers.

Playerlightningtarget

Determines whether and how a player entity is affected when struck by lightning, including chance calculation and strike response logic.

Propagator

Manages heat propagation and thermal effects (e.g., fire melting, freezing relief, damage) between nearby entities.

Rainimmunity

Grants and manages immunity to rain damage for an entity by tracking external sources of immunity.

Resistance

Manages damage resistance by tracking tags that grant immunity or mitigation against specific damage sources.

Spdamageutil

A singleton utility for managing and calculating special damage types and their interaction with special defenses across entities.