Jump to content

Ofrex35

WRobot user
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

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

Ofrex35's Achievements

  1. Thank you very much!
  2. Hi there, I have lots of experience in writing entire combat scripts in LUA, is it possible to do that with WRobot? If I use the FightClass editor and call my script "Warlock" for example, can I then put an entire rotation in LUA and use the "Not spell, is lua script" option? If so, is there a "template" or wrapper I should be using as a base for the rotations? Many thanks Ofrex35
  3. 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
  4. 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
  5. 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...