| ... | ... | @@ -34,7 +34,7 @@ VUHDO_hasUnitDebuff(<unit ID>, <spell name|spell ID>) |
|
|
|
Another example which returns true only if the unit is currently marked with a raid icon of 'Green Triangle' and also has a custom debuff active called 'Penetrating Cold':
|
|
|
|
|
|
|
|
```lua
|
|
|
|
return VUHDO_unitInfo["raidIcon"] == 4 and VUHDO_hasUnitDebuff(VUHDO_unitInfo["unit"], "Penetrating Cold") and true or false;
|
|
|
|
return VUHDO_unitInfo["raidIcon"] == 4 and VUHDO_hasUnitDebuff(VUHDO_unitInfo["unit"], "Penetrating Cold") or false;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Checking for a HoT Icon
|
| ... | ... | |