With thanks to Trip on Discord, it is now possible to detect elite mobs (and display their affixes if desired). This is accomplished by using the new global variables MOB[#]A1–A4 populated by the -allmobs command. Here is an example macro to detect any nearby elite mobs:
- [120]
keys=store % iter,0|store % iter2,1|cc % -allmobs
keys2=!cmp(VAR % iter),(VAR % MOBTOTAL)|gt5
keys3=!eq % MOB(VAR % iter2)A1,4294967295|dbg % elite nearby with affix (VAR % MOB(VAR % iter2)A1)|s2000|gt5
keys4=add % iter,1|add % iter2,1|gt2
keys5=s1000
repeat=2
interrupt=0
It is possible to display what the affix is by setting a global variable that utilizes the affix ID
[variables]
affix674104=Shadow Enchanted
Then, in your macro, you can refer to this affix with
dbg % elite has (VAR % affix(VAR % MOB(VAR % iter2)A1))
I have made some adjustments to alleviate crashing. If it still occurs, please try to narrow down what causes it for you. Thank you!
These changes require updating Speeder to version 55.
The Diablo IV Speeder guide and download link can only be viewed by active members. If you are already logged in and are an active member, simply refresh the page. If you would like to become a member, the Diablo IV Speeder can be purchased here. If you have specific installation questions, please contact us. Thank you.