-
-
Notifications
You must be signed in to change notification settings - Fork 106
CFScriptUtils
Divided by Zer0 edited this page Mar 9, 2022
·
6 revisions
Extends: Reference
Card Gaming Framework ScriptingEngine Utilities
This is a library of static functions we had to separate to avoid cyclic dependencies
This class needs to have no references to [ScriptingObject]
func get_altered_value(_owner, task_name: String, task_properties: Dictionary, value: int) -> var
Handles modifying the intensity of tasks based on altering scripts on cards
Returns a Dictionary holding two keys
- value_alteration: The total modification found from all alterants
- alterants_details: A dictionary where each key is the Card object of each alterant, and each value is the modification done by that specific alterant.