-
Posted by griste on Thu, 09 Jan 2014 22:13:18
It's a bit difficult to post the script itself in the correct format on here, but does anybody know how to finish this? 3.3.5 API casts vanish when blind is casted on me
if not OP_Vanish then OP_Vanish = true print("Console: Vanish Blind Loaded.") local VanishID = { [2094] = true } local Vanish_PlayerGUID = UnitGUID("player") local Vanish_FRAME = Vanish_FRAME or CreateFrame("FRAME", nil, UIParent) Vanish_FRAME:SetScript("OnEvent", function(self, event, _, type, _, sourceGUID, sourceName, _, _, destGUID, destName, _, _, spellID) if type == "SPELL_CAST_SUCCESS" and destGUID == Vanish_PlayerGUID and sourceGUID == Vanish_PlayerGUID and VanishID[spellID] then CastSpellByName(GetSpellInfo(1856),"player") print("Console: Attempted to Vanish the Rogue's Blind.") end end ) Vanish_FRAME:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED") end
-
Posted by jnwhiteh on Fri, 10 Jan 2014 17:38:27
Sorry, I don't provide help for private servers!