Component

Inherits: RefCounted

Abstract base class for skill components.

Each component defines one aspect of a skill (damage, range, cost, etc.).

Skills compose multiple Component instances in Skill.components.

Mod pipeline: init_mod_component() (zeroed snapshot) → signal emission → apply_mods() (merge mod_component into self).

Properties

Component

mod_component

Methods

void

apply_mods() abstract

String

string_content() abstract

void

init_mod_component() abstract

Array[SkillComponentUI]

get_component_ui() abstract


Property Descriptions

Component mod_component 🔗

Snapshot copy modified by passives/runes/gear during the mod pipeline.


Method Descriptions

void apply_mods() abstract 🔗

Merges mod_component values into self.


String string_content() abstract 🔗

Returns a formatted summary of the component’s values (e.g. “Damage: 10”).


void init_mod_component() abstract 🔗

Creates a fresh zeroed copy of self for mod_component.


Array[SkillComponentUI] get_component_ui() abstract 🔗

Returns SkillComponentUI node(s) for the skill info panel.