-
Notifications
You must be signed in to change notification settings - Fork 2
Condition Object
The Condition Object allows to set animation behind other conditions than just one major module. It is required. If no type is set the condition is regarded as true and only the subconditions and its own config play a role. If a subcondition has a valid config and is true the config of the subcondition takes priority. The java implementation can be found here.
The Condition Object has the following attributes:
The type dictates what kind of condition is checked against.
This conditions is regarded as true no matter what
key is required
It represents the module slot
value is required
It represents the Module in the Slot
improvement has no use for the type "module"
Example
key is optional
It represents the module slot key
value is optional
It represents key the actual module in the slot
improvement is required
It represents the key of the improvement.
If a slot or/and module are set it only checks on these conditions.
Example
Tetratic Combat Wiki