Skip to content

HealEffect ​

Inherits: CombatResultEffect < ScalingEffect < Effect < DatabaseResource < Resource

HealEffect is a an effect that applies healing to the target entity.

Properties ​

floatleech_percentage0.0
floatthreat_multiplier-1.0
boolscales_with_chargefalse
floatmin_charge_multiplier0.3
TargetModetarget_modeTargetMode.ALL_HEALTH_POOLS
intpool_id0

Methods ​

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

Enumerations ​

enum TargetMode ​

The options of target mode: all health pools, base pool only, specific pool.

  • ALL_HEALTH_POOLS = 0
  • BASE_POOL_ONLY = 1
  • SPECIFIC_POOL = 2

Property descriptions ​

Healing Values

float leech_percentage = 0.0 ​

Percentage of healing done that restores the originator's master pool

float threat_multiplier = -1.0 ​

The share of the healing done that becomes threat on the enemies fighting the healed entity (-1 = the project setting)

bool scales_with_charge = false ​

The healing scales with how far a drawn spell was drawn

float min_charge_multiplier = 0.3 ​

Share of the healing when released at once

Pool Targeting

TargetMode target_mode = TargetMode.ALL_HEALTH_POOLS ​

Pool target mode

int pool_id = 0 ​

Specific Pool to heal (If not found will not heal)

Method descriptions ​

void specific_effect_logic( effect_instance: EffectInstance ) ​

What the effect does to its target when it is applied.

String get_effect_description() ​

The text of the effect for tooltips, with its values filled in.

String get_editor_description() ​

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

bool is_one_off_application() ​

What this effect does it does once, when it is applied: a loaded save does not do it again