Skip to content

GrantEffectToPlayerAction ​

Inherits: PlayerEventAction < EventAction < Resource

Action to grant an effect to player(s)

Properties ​

inteffect_id0

Methods ​

Stringget_player_function_description()
boolexecute_on_players( players: Array[Player] )
Dictionarysave()
voidload_data( data: Dictionary )

Property descriptions ​

int effect_id = 0 ​

Effect ID to grant

Method descriptions ​

String get_player_function_description() ​

Override to provide action-specific description

bool execute_on_players( players: Array[Player] ) ​

Execute action on target players

Dictionary save() ​

Save action state to a dictionary

void load_data( data: Dictionary ) ​

Load action state from a dictionary