September 5, 20169 yr Hello, I'd like to cast Fetch on my Hunter pet, but only ONCE after combat. Right now it casts over and over. I have it set as: Spell Settings combat only - false not a spell, is lua script - true once per target - true (doesn't seem to make any difference) Spell Conditions me in combat - false Here's the script: RunMacroText("/targetlastenemy [help][noexists]") RunMacroText("/cast Fetch") Any ideas?
September 9, 20169 yr Author Still having some issues: 08:06:27 - [Fight] Player Attack Leyline Researcher (lvl 110)[F] 08:06:27 - [FightClass] Launch LUA script: PetAttack();[F] 08:06:27 - [FightClass] Launch LUA script: RunMacroText("/cast [@focus, help] [@pet, nodead, exists] Misdirection")[F] 08:06:28 - [Spell] Cast Mend Pet (Mend Pet)[F] 08:06:28 - [Spell] Cast Bestial Wrath (Bestial Wrath)[F] 08:06:28 - [FightClass] Launch C# code: robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", false);[F] 08:06:30 - [Spell] Cast A Murder of Crows (A Murder of Crows)[F] 08:06:30 - [FightClass] Launch LUA script: RunMacroText("/use Emmarel's Assault")[F] 08:06:31 - [Spell] Cast Cobra Shot (Cobra Shot)[F] 08:06:31 - [Spell] Cast Counter Shot (Counter Shot)[F] 08:06:32 - [Spell] Cast Dire Beast (Dire Beast)[F] 08:06:34 - [Spell] Cast Kill Command (Kill Command)[F] 08:06:35 - [Spell] Cast Cobra Shot (Cobra Shot)[F] 08:06:35 - [FightClass] Launch C# code: // System.Threading.Thread.Sleep(1000); wManager.Wow.Helpers.Lua.RunMacroText("/targetlastenemy [help][noexists]"); wManager.Wow.Helpers.Lua.RunMacroText("/cast Fetch"); robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", true);[F] 08:06:36 - [FightClass] Launch C# code: // System.Threading.Thread.Sleep(1000); wManager.Wow.Helpers.Lua.RunMacroText("/targetlastenemy [help][noexists]"); wManager.Wow.Helpers.Lua.RunMacroText("/cast Fetch"); robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", true);[F] 08:06:37 - [FightClass] Launch C# code: // System.Threading.Thread.Sleep(1000); wManager.Wow.Helpers.Lua.RunMacroText("/targetlastenemy [help][noexists]"); wManager.Wow.Helpers.Lua.RunMacroText("/cast Fetch"); robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", true);[F] 08:06:38 - [FightClass] Launch C# code: // System.Threading.Thread.Sleep(1000); wManager.Wow.Helpers.Lua.RunMacroText("/targetlastenemy [help][noexists]"); wManager.Wow.Helpers.Lua.RunMacroText("/cast Fetch"); robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", true);[F] 08:06:39 - [FightClass] Launch C# code: // System.Threading.Thread.Sleep(1000); wManager.Wow.Helpers.Lua.RunMacroText("/targetlastenemy [help][noexists]"); wManager.Wow.Helpers.Lua.RunMacroText("/cast Fetch"); robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", true);[F] 08:06:41 - [FightClass] Launch C# code: // System.Threading.Thread.Sleep(1000); wManager.Wow.Helpers.Lua.RunMacroText("/targetlastenemy [help][noexists]"); wManager.Wow.Helpers.Lua.RunMacroText("/cast Fetch"); robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", true);[F] 08:06:42 - [FightClass] Launch C# code: // System.Threading.Thread.Sleep(1000); wManager.Wow.Helpers.Lua.RunMacroText("/targetlastenemy [help][noexists]"); wManager.Wow.Helpers.Lua.RunMacroText("/cast Fetch"); robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", true);[F] 08:06:43 - [FightClass] Launch C# code: // System.Threading.Thread.Sleep(1000); wManager.Wow.Helpers.Lua.RunMacroText("/targetlastenemy [help][noexists]"); wManager.Wow.Helpers.Lua.RunMacroText("/cast Fetch"); robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", true);08:06:43 - [AntiAfk] Disposed.08:06:44 - Session statistics: Elapsed time: 00h:00m:23s Kills: 1 (156/hr) Deaths: 0 (0/hr) Farms: 0 (0/hr) Loots: 0 (0/hr) Money/HR: 0 G 00 S 00 C (0 G 00 S 00 C) Honor/HR: 0 (0) Apexis Crystal/HR: 0 (0) Perhaps an edit of the Loot-a-Rang plugin?
September 14, 20169 yr Author Sure. The repeating log entry only happens after I finish combat. It doesn't display that behavior just after launch. 7.03 Hunter B_3.xml
Create an account or sign in to comment