Skip to content

HealReflectEffect ​

Inherits: Effect < DatabaseResource < Resource

HealReflectEffect passes a share of the healing its bearer receives on to someone else: the caster of the effect, or whoever healed the bearer. The healing counterpart of DamageReflectEffect: a "Vampiric Embrace" (heal the priest when the party is healed), a soul link, a healing mirror. The share is taken from the healing that actually landed (not the overheal) and goes through the normal healing pipeline, so the recipient's healing-done modifiers, the combat log and the result signals all apply.

Properties ​

floatpercentage_of_healing20.0
RecipientrecipientRecipient.ORIGINATOR
intmaximum_healing_per_reflect0
inttotal_healing_to_reflect0
intmax_reflect_chain-1

Methods ​

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

Enumerations ​

enum Recipient ​

The options of recipient: originator, healer.

  • ORIGINATOR = 0 - The entity that applied this effect (the priest who cast Vampiric Embrace)
  • HEALER = 1 - Whoever healed the bearer

Property descriptions ​

Heal Reflect

float percentage_of_healing = 20.0 ​

The percent of the healing received that is passed on

Recipient recipient = Recipient.ORIGINATOR ​

Who receives the share

int maximum_healing_per_reflect = 0 ​

The most that is passed on from one heal (0 = no limit)

int total_healing_to_reflect = 0 ​

The most that is passed on in all, over the life of the effect (0 = no limit). The effect ends when it is reached

int max_reflect_chain = -1 ​

How many reactions deep a heal may be and still be reflected. 1: a normal heal is reflected, a reflection is never reflected again. -1 = the project default (GameplayConfig, Damage Results)

Method descriptions ​

void specific_effect_logic( effect_instance: EffectInstance ) ​

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

void on_apply_finished( effect_instance: EffectInstance ) ​

Called when the effect ends: takes back what it did.

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.