Jump to content

Ofrex35

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Ofrex35's Achievements

  1. Thanks Matenia - sorted now - I had missed the fact that Wowpedia's API stated there was a change between TBC and Retail, and nameSubtext was removed. Once I corrected that it works great! Thanks for the prompt! Ofrex35
  2. Thank you for the quick reply - neither ObjectManager.Target.CanInterruptCasting nor your new function return true for interruptibles. I will leave this for the moment though in case its a peculiarity of the one spell I have tried it on - Blackwood Windtalkers Gust of Wind in Darkshore. I will find other mobs first. Thanks Ofrex35
  3. Hi there, I've tried the following on a WOTLK 3.3.5a private server: // Interrupt with Wind Shear if (WindShear.KnownSpell && WindShear.IsSpellUsable && ObjectManager.Target.CanInterruptCasting) { WindShear.Launch(); return; } But it doesn't use Wind Shear on interruptible spells. If I log a check of ObjectManager.Target.CanInterruptCasting it says "false" - am I using it correctly? I even wrote my own check which returns false as well! private bool SpellIsInterruptible() { return Lua.LuaDoString<bool>( @"isinterruptible = false; local name, _, _, _, _, _, _, notInterruptible = UnitCastingInfo(""target""); if not name then local name, _, _, _, _, _, notInterruptible = UnitChannelInfo(""target""); end if name and not notInterruptible then isinterruptible = true; end ", "isinterruptible"); } Regards Ofrex35
×
×
  • Create New...