Thok stop casting question menu

User Tag List

Results 1 to 1 of 1
  1. #1
    Xiodrade's Avatar Member
    Reputation
    2
    Join Date
    May 2013
    Posts
    15
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thok stop casting question

    Alright well, the main function for Thoks stop casting was:

    Code:
    if (UnitExists("boss1") or UnitExists("target")) then
    	if (UnitCastingInfo("boss1") == GetSpellInfo(138763) or UnitCastingInfo("target") == GetSpellInfo(137457) or UnitCastingInfo("boss1") == GetSpellInfo(143343)) then
    		if (UnitCastingInfo("player") or UnitChannelInfo("player")) then
    			RunMacroText("/stopcasting") 
    			return false 
    		end
    	end
    	return true
    end
    Which works 100% perfect

    Now, if I'm correct, I should be able to add:
    Code:
    if (not UnitBuffID("player",31821) or not UnitBuffID("player",96267)) then
    For devo and inner focus buff to make it look like

    Code:
    if (UnitExists("boss1") or UnitExists("target")) then
    	if (UnitCastingInfo("boss1") == GetSpellInfo(138763) or UnitCastingInfo("target") == GetSpellInfo(137457) or UnitCastingInfo("boss1") == GetSpellInfo(143343)) then
    		if (not UnitBuffID("player",31821) or not UnitBuffID("player",96267)) then
    			if (UnitCastingInfo("player") or UnitChannelInfo("player")) then
    				RunMacroText("/stopcasting") 
    				return false 
    			end
    		end
    		return true
    	end
    end
    Correct? I can't test it in due to having already did him this week, so the main reason for this thread is to see if that would work, and if it's in the right spot. I mean, those 2 spells being added are pretty important considering that script just stops casting even when devo is out.

    Thok stop casting question

Similar Threads

  1. [Client] [Release] Automatic stop-casting in Windows 1.12.1.5875 client
    By namreeb in forum WoW EMU Programs
    Replies: 23
    Last Post: 10-05-2018, 03:55 PM
  2. Stop casting before interupt WoW PvP
    By a.t.lshelia in forum WoW Bots Questions & Requests
    Replies: 3
    Last Post: 12-07-2015, 12:34 PM
  3. Question concerning casting animations
    By rafen in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 11-08-2006, 10:50 PM
All times are GMT -5. The time now is 09:19 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search