| ... | ... | @@ -61,7 +61,7 @@ When omitted, the third argument defaults to `VUHDO_UNIT_HOT_TYPE_MINE`. |
|
|
|
One more example which returns true only if the unit has an active HoT Icon tracking 'Atonement' cast by the player:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
return VUHDO_hasUnitHot(VUHDO_unitInfo["unit"], "Atonement") and true or false;
|
|
|
|
return VUHDO_hasUnitHot(VUHDO_unitInfo["unit"], "Atonement");
|
|
|
|
```
|
|
|
|
|
|
|
|
## More Examples
|
| ... | ... | |