Condition_Muscle
Description
Compares the character's current muscle mass value against a given threshold or range.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character to check (Self or Target). |
| CompareType | Supported compare types: Equal, NotEqual, Less, Greater, LessOrEqual, GreaterOrEqual, InRange, OutRange. |
| F1 | Muscle value threshold to compare against (cast to integer). |
| F2 | Upper bound of the range for InRange or OutRange comparisons. |
Examples
| Description | BaseObject | Command | CompareType | F1 | F2 |
|---|---|---|---|---|---|
| Checks if self has a muscle value of exactly 3. | Self | Muscle | Equal | 3 | 0 |
| Checks if self has a muscle value of 5 or more. | Self | Muscle | GreaterOrEqual | 5 | 0 |
| Checks if target has a muscle value below 2. | Target | Muscle | Less | 2 | 0 |
| Checks if self has a muscle value between 2 and 4. | Self | Muscle | InRange | 2 | 4 |