abunai10 / CaffeineIssues

0 stars 0 forks source link

Polyfill for ObjectCastingTarget #19

Closed n00bsteam closed 10 months ago

n00bsteam commented 10 months ago

Add support ObjectCastingTarget for Daemonic unlocker.

At the moment we have got no other ways to detect Unit casting target, workaround like:

Caffeine.UnitManager:EnumEnemies(function(unit)
  if unit:IsCastingOrChanneling() then
    print(unit:GetTarget())
  end
end)

returns false for Tinkr and Daemonic.

Can be tested at Valdrakken Tank Dummy

JustRebeccabla commented 10 months ago

UnitCastingTarget is the api on Daemonic. 🆗

LordNoxington commented 10 months ago

Works perfect now

Laksmack commented 10 months ago

yeah, think this can be closed