Skip to content

PetCommandAbilityEffect ​

Inherits: Effect < DatabaseResource < Resource

PetCommandAbilityEffect is a specialized effect that commands a specific pet to use a specified ability. This effect allows for complex pet management and coordination between the player and their pets in combat or other scenarios.

Properties ​

intability_id
intpet_id

Methods ​

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

Property descriptions ​

int ability_id ​

The ability the pet will be called to use

int pet_id ​

id of the pet to call ability use

Method descriptions ​

void specific_effect_logic( effect_instance: EffectInstance ) ​

Applies the specific logic for this effect, commanding the pet to use an ability

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