| ... | ... | @@ -13,6 +13,8 @@ The simple example below returns true if the unit is named 'Ivaria': |
|
|
|
return ("Ivaria" == VUHDO_unitInfo["name"])
|
|
|
|
```
|
|
|
|
|
|
|
|
Full details on the unit information available in the `VUHDO_unitInfo` table can be found [below](https://gitlab.vuhdo.io/vuhdo/vuhdo/-/wikis/VuhDo-Custom-Flag-Bouquet-Validators/edit#unit-information-table-schema).
|
|
|
|
|
|
|
|
### Example 1
|
|
|
|
|
|
|
|
The follow is a more complicated example which returns true only if the player's spell 'Prayer of Mending' is off cooldown and the unit is below 90% health:
|
| ... | ... | |