Skip to content

StealthEffect ​

Inherits: Effect < DatabaseResource < Resource

StealthEffect grants stealth/invisibility to target

Properties ​

boolbreak_on_actiontrue
boolbreak_on_damagetrue
floatmovement_speed_modifier0.0
floatbreak_delay_duration0.0

Methods ​

voidspecific_effect_logic( effect_instance: EffectInstance )
voidon_apply_finished( effect_instance: EffectInstance )
Stringget_effect_description()
Stringget_editor_description()

Property descriptions ​

Stealth Settings

bool break_on_action = true ​

Break stealth on offensive actions

bool break_on_damage = true ​

Break stealth when taking damage

float movement_speed_modifier = 0.0 ​

Speed change while stealthed (can be positive or negative)

float break_delay_duration = 0.0 ​

Delay before stealth actually breaks (seconds)

Method descriptions ​

void specific_effect_logic( effect_instance: EffectInstance ) ​

Applies the specific logic for this effect, granting stealth

void on_apply_finished( effect_instance: EffectInstance ) ​

Handles the finishing of the effect, removing stealth

String get_effect_description() ​

Get the effect description for tooltips

String get_editor_description() ​

A short text for the effect editor that says what the effect does.