What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

how to check if my target is a boss!!!

I believe you can use StyxWoW.Me.CurrentTarget.IsBoss() as well.
 
I believe you can use StyxWoW.Me.CurrentTarget.IsBoss() as well.

Nope. This is just something we added in Singular.

You'd need to check against a list of boss IDs to determine if its a boss. Unfortunately WoW doesn't really provide a "nice" way to determine a boss. Its weird like that :(
 
Me.CurrentTarget.Elite

tnks another profiles ^^

Good idea, combine this with a Party check. If your in a party and your target is Elite 99% of the time it's a boss. Or as Apoc said, get a list of all Boss ID's and compare against that.
 
If your in a party and your target is Elite 99% of the time it's a boss.

Actually, in this case, 99% of the time it will be a trash mob, because instances are 99% full of Elite trash. Bosses represent less than 1% of Elite mobs in instances.

I am just speculating, but wouldn't a target level check be a more viable option ? Like if target > X Levels than the player & Elite then it's a boss, else it's simply a too high level reg mob. Actually, I remember RareEliteKiller plugin had a level check so you can see there how it's made and combine it with an Elite check and you got your universal Boss check.

Boss ID's would be actually only useful if whatever OP wants to develop will implement specific boss-specific things. Like a bot that automatically fights Ultraxion for you, stacking with the group, pressing the purple orb every time the Boss begins to cast Hour of Twilight.
 
Last edited:
Actually, in this case, 99% of the time it will be a trash mob, because instances are 99% full of Elite trash. Bosses represent less than 1% of Elite mobs in instances.

I am just speculating, but wouldn't a target level check be a more viable option ? Like if target > X Levels than the player & Elite then it's a boss, else it's simply a too high level reg mob. Actually, I remember RareEliteKiller plugin had a level check so you can see there how it's made and combine it with an Elite check and you got your universal Boss check.

Boss ID's would be actually only useful if whatever OP wants to develop will implement specific boss-specific things. Like a bot that automatically fights Ultraxion for you, stacking with the group, pressing the purple orb every time the Boss begins to cast Hour of Twilight.

Good point, forgot about elite trash mob. TBH the best way is a list of ID's. This list already exists so it would be nice to see it in the API :)
 
Last edited:
Arent bosses at least two or three levels higher than the level cap? Can check that way for current content.
 
UnitClassification(unit); or UnitLevel("playertarget");
 
So.. Are we saying Apoc was wrong? :o

No :) But there is more than one way to do this :)

Some people may find it easier to have ID's rather than a Lua call, personal preference really I guess.
 
Unfortunately WoW doesn't really provide a "nice" way to determine a boss. Its weird like that :(
I'd say making the information available with lua is a rather nice way - but I guess I'm wrong then.
 
Not wrong :] like I said everyone does things differently!
Sent from my 7 Trophy using Board Express
 
Back
Top