• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] Get Buff ID?

Level 5
Joined
Feb 1, 2024
Messages
44
There's a condition to check if a unit has a specific buff. And I want to check if a unit has the buff of an ability being cast so I don't have to set Buff variable for each ability.

I can get an ability ID through
  • Custom script: set udg_SpellInteger = GetSpellAbilityId()
And I see most abilities share the same buff field '"abuf'', is it possible and how to get this field? Afterward I just compare the two strings.
 
Top