GrantEffectToPlayerAction ​
Inherits: PlayerEventAction < EventAction < Resource
Action to grant an effect to player(s)
Properties ​
int | effect_id | 0 |
Methods ​
String | get_player_function_description() |
bool | execute_on_players( players: Array[Player] ) |
Dictionary | save() |
void | load_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