Advertisement
Guest User

autoscript

a guest
Jan 29th, 2012
978
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.03 KB | None | 0 0
  1. print("custom script loaded") --custom message that prints "custom script loaded" into chatframe1
  2.  
  3.  
  4. --Miirkat_DruidPortraitIcons/ClassIcons
  5. UFP = "UnitFramePortrait_Update"
  6. UICC = "Interface\\TargetingFrame\\UI-Classes-Circles"
  7. CIT = CLASS_ICON_TCOORDS
  8.  
  9. hooksecurefunc(UFP, function(self)
  10. if self.portrait then
  11. if select(2,UnitClass(self.unit)) == "DRUID" then
  12. local i, flag=1, false
  13. while UnitBuff(self.unit, i) do
  14. local id = select(11,UnitBuff(self.unit, i))
  15. --768 (Cat Form) 783(Travel Form) 1066 (Aquatic Form) 5487 (Bear Form) 24858 (Moonkin Form) 33891 (Tree of Life) 33943 (Flight Form) 40120 (Swift Flight Form)
  16. if id == 768 or id == 783 or id == 1066 or id == 5487 or id == 24858 or id == 33891 or id == 33943 or id == 40120 then
  17. SetPortraitToTexture(self.portrait, GetSpellTexture(id));
  18. self.portrait:SetTexCoord(0, 1, 0, 1)
  19. flag = true
  20. end
  21. i = i + 1
  22. end
  23. if not flag then
  24. self.portrait:SetTexture(UICC)
  25. self.portrait:SetTexCoord(unpack(CIT.DRUID))
  26. end
  27. else
  28. local t = CIT[select(2,UnitClass(self.unit))]
  29. if t then self.portrait:SetTexture(UICC)
  30. self.portrait:SetTexCoord(unpack(t))
  31. end
  32. end
  33. end
  34. end)
  35.  
  36.  
  37. --Class colors in target name background (thaya AJ)
  38.  
  39. -- local frame = CreateFrame("FRAME")
  40. -- frame:RegisterEvent("PLAYER_ENTERING_WORLD")
  41. -- frame:RegisterEvent("PARTY_MEMBERS_CHANGED")
  42. -- frame:RegisterEvent("PLAYER_TARGET_CHANGED")
  43. -- frame:RegisterEvent("UNIT_FACTION")
  44.  
  45. -- local function eventHandler(self, event, ...)
  46. -- local unitid = ...
  47.  
  48. -- if (event == "UNIT_FACTION" and unitid ~= "target") then return end
  49.  
  50. -- if UnitIsPlayer("target") then
  51. -- _, class = UnitClass("target")
  52. -- c = RAID_CLASS_COLORS[class]
  53. -- TargetFrameNameBackground:SetVertexColor(c.r, c.g, c.b)
  54. -- end
  55. -- end
  56. -- frame:SetScript("OnEvent", eventHandler)
  57.  
  58.  
  59. --Class colors in focus name background (thaja AJ)
  60.  
  61. -- local frame = CreateFrame("FRAME")
  62. -- frame:RegisterEvent("PLAYER_ENTERING_WORLD")
  63. -- frame:RegisterEvent("PARTY_MEMBERS_CHANGED")
  64. -- frame:RegisterEvent("PLAYER_FOCUS_CHANGED")
  65. -- frame:RegisterEvent("UNIT_FACTION")
  66.  
  67. -- local function eventHandler(self, event, ...)
  68. -- local unitid = ...
  69.  
  70. -- if (event == "UNIT_FACTION" and unitid ~= "focus") then return end
  71.  
  72. -- if UnitIsPlayer("focus") then
  73. -- _, class = UnitClass("focus")
  74. -- c = RAID_CLASS_COLORS[class]
  75. -- FocusFrameNameBackground:SetVertexColor(c.r, c.g, c.b)
  76. -- end
  77. -- end
  78. -- frame:SetScript("OnEvent", eventHandler)
  79.  
  80.  
  81. -- Resizing the buff frame (shurrek)
  82. BuffFrame:SetScale(1.25)
  83. TemporaryEnchantFrame:SetScale(1.25)
  84. ConsolidatedBuffs:SetScale(1.25)
  85.  
  86. --resize
  87. PlayerFrame:SetScale(1.1)
  88. TargetFrame:SetScale(1.1)
  89. FocusFrame:SetScale(1.1)
  90. ConsolidatedBuffs:SetScale(1.1)
  91. CastingBarFrame:SetScale(1.2)
  92. TargetFrameSpellBar:SetScale(1.1)
  93.  
  94. -- red/blue/green background in name
  95. TargetFrameNameBackground:Hide()
  96. FocusFrameNameBackground:Hide()
  97.  
  98. --position tot & ftot
  99. TargetFrameToT:ClearAllPoints()
  100. TargetFrameToT:SetPoint("BOTTOMRIGHT",TargetFrame,-35,-10)
  101. FocusFrameToT:ClearAllPoints()
  102. FocusFrameToT:SetPoint("BOTTOMRIGHT",FocusFrame,-35,-10)
  103.  
  104. --stopwatch tracker for vial of shadows ICD
  105.  
  106. -- V=CreateFrame("FRAME")
  107. -- function SW(x) Stopwatch_StartCountdown(0,0,x) Stopwatch_Play() end
  108. -- V:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED");
  109. -- V:SetScript("OnEvent", function(...)
  110. -- local a,b,c,d,e,f,g,h,i = select(3, ...)
  111. -- if e == UnitName("Player") then local j,k,l,m,n,o = select(12, ...)
  112. -- if l == 109721 then SW(10) end end end)
  113.  
  114. --Target Health Percentage--
  115. hooksecurefunc("TextStatusBar_UpdateTextString", function(textStatusBar)
  116. if textStatusBar == TargetFrameHealthBar and not GetCVarBool("statusTextPercentage") and not textStatusBar.showPercentage then
  117. local t = TargetFrameTextureFrameHealthBarText:GetText()
  118. if t then
  119. t = string.match(t, "[^%/%(]+")
  120. if t then
  121. TargetFrameTextureFrameHealthBarText:SetText(t.."("..tostring(math.ceil((UnitHealth("target") / UnitHealthMax("target")) * 100)).."%)")
  122. end
  123. end
  124. end
  125.  
  126. --Focus Health Percentage--
  127. if textStatusBar == FocusFrameHealthBar and not GetCVarBool("statusTextPercentage") and not textStatusBar.showPercentage then
  128. local f = FocusFrameTextureFrameHealthBarText:GetText()
  129. if f then
  130. f = string.match(f, "[^%/%(]+")
  131. if f then
  132. FocusFrameTextureFrameHealthBarText:SetText(f.."("..tostring(math.ceil((UnitHealth("focus") / UnitHealthMax("focus")) * 100)).."%)")
  133. end
  134. end
  135. end
  136. end)
  137.  
  138.  
  139. --focus castbar
  140. hooksecurefunc(FocusFrameSpellBar, "Show", function()
  141. FocusFrameSpellBar:ClearAllPoints()
  142. FocusFrameSpellBar:SetPoint("TOP", FocusFrame, "TOP", -20, 10)
  143. FocusFrameSpellBar:SetScale(1.2)
  144. FocusFrameSpellBar.SetPoint = function() end
  145. end)
  146.  
  147.  
  148. --left and right art of the mainbar
  149. MainMenuBarLeftEndCap:Hide()
  150. MainMenuBarRightEndCap:Hide()
  151.  
  152.  
  153. --red overlay if not in range
  154. hooksecurefunc("ActionButton_OnEvent",function(self, event, ...)
  155. if ( event == "PLAYER_TARGET_CHANGED" ) then
  156. self.newTimer = self.rangeTimer
  157. end
  158. end)
  159.  
  160. hooksecurefunc("ActionButton_UpdateUsable",function(self)
  161. local icon = _G[self:GetName().."Icon"]
  162. local valid = IsActionInRange(self.action)
  163. if ( valid == 0 ) then
  164. icon:SetVertexColor(1.0, 0.1, 0.1)
  165. end
  166. end)
  167.  
  168. hooksecurefunc("ActionButton_OnUpdate",function(self, elapsed)
  169. local rangeTimer = self.newTimer
  170. if ( rangeTimer ) then
  171. rangeTimer = rangeTimer - elapsed
  172. if ( rangeTimer <= 0 ) then
  173. ActionButton_UpdateUsable(self)
  174. rangeTimer = TOOLTIP_UPDATE_TIME
  175. end
  176. self.newTimer = rangeTimer
  177. end
  178. end)
  179.  
  180.  
  181. ----------------------------
  182. -- Neilyo Autoscript
  183. ----------------------------
  184.  
  185. local trinkets = {}
  186. local events = CreateFrame("Frame")
  187.  
  188. function events:ADDON_LOADED(addonName)
  189. if addonName ~= "Blizzard_ArenaUI" then
  190. return
  191. end
  192. -- ArenaEnemyFrame1:ClearAllPoints()
  193. -- ArenaEnemyFrame1:SetPoint("TOPRIGHT", UIParent, -189, -200)
  194. -- ArenaEnemyFrames:SetScale(1.3)
  195. local arenaFrame, trinket
  196. for i = 1, MAX_ARENA_ENEMIES do
  197. arenaFrame = "ArenaEnemyFrame"..i
  198. trinket = CreateFrame("Cooldown", arenaFrame.."Trinket", ArenaEnemyFrames)
  199. trinket:SetPoint("TOPRIGHT", arenaFrame, 32, -6)
  200. trinket:SetSize(28, 28)
  201. trinket.icon = trinket:CreateTexture(nil, "BACKGROUND")
  202. trinket.icon:SetAllPoints()
  203. trinket.icon:SetTexture("Interface\\Icons\\inv_jewelry_trinketpvp_01")
  204. trinket:Hide()
  205. trinkets["arena"..i] = trinket
  206. end
  207. self:UnregisterEvent("ADDON_LOADED")
  208. end
  209.  
  210. function events:UNIT_SPELLCAST_SUCCEEDED(unitID, spell, rank, lineID, spellID)
  211. if not trinkets[unitID] then
  212. return
  213. end
  214. if spellID == 59752 or spellID == 42292 then
  215. CooldownFrame_SetTimer(trinkets[unitID], GetTime(), 120, 1)
  216. SendChatMessage("Trinket used by: "..GetUnitName(unitID, true), "PARTY")
  217. elseif spellID == 7744 then
  218. CooldownFrame_SetTimer(trinkets[unitID], GetTime(), 45, 1)
  219. SendChatMessage("WotF used by: "..GetUnitName(unitID, true), "PARTY")
  220. end
  221. end
  222.  
  223. function events:PLAYER_ENTERING_WORLD()
  224. local _, instanceType = IsInInstance()
  225. if instanceType == "arena" then
  226. self:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED")
  227. elseif self:IsEventRegistered("UNIT_SPELLCAST_SUCCEEDED") then
  228. self:UnregisterEvent("UNIT_SPELLCAST_SUCCEEDED")
  229. for _, trinket in pairs(trinkets) do
  230. trinket:SetCooldown(0, 0)
  231. trinket:Hide()
  232. end
  233. end
  234. end
  235.  
  236. SLASH_TESTAEF1 = "/testaef"
  237. SlashCmdList["TESTAEF"] = function(msg, editBox)
  238. if not IsAddOnLoaded("Blizzard_ArenaUI") then
  239. LoadAddOn("Blizzard_ArenaUI")
  240. end
  241. ArenaEnemyFrames:Show()
  242. local arenaFrame
  243. for i = 1, MAX_ARENA_ENEMIES do
  244. arenaFrame = _G["ArenaEnemyFrame"..i]
  245. arenaFrame.classPortrait:SetTexture("Interface\\TargetingFrame\\UI-Classes-Circles")
  246. arenaFrame.classPortrait:SetTexCoord(unpack(CLASS_ICON_TCOORDS["ROGUE"]))
  247. arenaFrame.name:SetText("Dispelme")
  248. arenaFrame:Show()
  249. ArenaEnemyFrame1PetFrame:Show()
  250. ArenaEnemyFrame2PetFrame:Show()
  251. ArenaEnemyFrame3PetFrame:Show()
  252. ArenaEnemyFrame4PetFrame:Show()
  253. ArenaEnemyFrame5PetFrame:Show()
  254.  
  255. CooldownFrame_SetTimer(trinkets["arena"..i], GetTime(), 120, 1)
  256. end
  257. end
  258.  
  259. events:SetScript("OnEvent", function(self, event, ...) return self[event](self, ...) end)
  260. events:RegisterEvent("ADDON_LOADED")
  261. events:RegisterEvent("PLAYER_ENTERING_WORLD")
  262.  
  263. UFP = "UnitFramePortrait_Update"
  264. UICC = "Interface\\TargetingFrame\\UI-Classes-Circles"
  265. CIT = CLASS_ICON_TCOORDS
  266. hooksecurefunc(UFP,function(self) if self.portrait then if UnitIsPlayer(self.unit) and UnitIsVisible(self.unit) then self.portrait:SetTexture(UICC) self.portrait:SetTexCoord(unpack(CIT[select(2,UnitClass(self.unit))])) else self.portrait:SetTexCoord(0,1,0,1) end end end)
  267.  
  268.  
  269. USS="UNIT_SPELLCAST_SUCCEEDED";OE="OnEvent";PvP="Interface\\Icons\\inv_jewelry_trinketpvp_01";F="Frame";CF=CreateFrame;BO="Border";PvPT="PvP Trinket";EMFH="Every Man For Himself";UC=UnitClass;SCM=SendChatMessage;RW="RAID_WARNING"
  270. function TrS(f,x,y,cd,T,s,h) f:SetPoint("BOTTOMLEFT",x,y)f:SetSize(s,s)f.c=CF("Cooldown",cd)f.c:SetAllPoints(f)f.t=f:CreateTexture(nil,BO)f.t:SetAllPoints()f.t:SetTexture(T);if not h then f:Hide(); end f:RegisterEvent(USS) end
  271. function Ts(f,cd,U,N,S,TI)if CPz(N,S,U) then f:Show();CooldownFrame_SetTimer(cd,GetTime(),TI,1) end end
  272. function CPz(N,S,U) if(N==S and (U=="arena1" or U=="arena2" or U=="arena3" or U=="arenapet1" or U=="arenapet2" or U=="arenapet3"))then return true else return false end end
  273.  
  274. t1p="Interface\\Icons\\ability_rogue_shadowdance";t1=CF(F);TrS(t1,1060,500,"cd1",t1p,22,false);t1:SetScript(OE,function(_,_,U,N)Ts(t1,cd1,U,N,"Shadow Dance",60)end);
  275. t2p="Interface\\Icons\\ability_rogue_kidneyshot";t2=CF(F);TrS(t2,1082,500,"cd2",t2p,22,false);t2:SetScript(OE,function(_,_,U,N)Ts(t2,cd2,U,N,"Kidney Shot",20)end);
  276. t3p="Interface\\Icons\\spell_shadow_nethercloak";t3=CF(F);TrS(t3,1104,500,"cd3",t3p,22,false);t3:SetScript(OE,function(_,_,U,N)Ts(t3,cd3,U,N,"Cloak of Shadows",90)end);
  277. t4p="Interface\\Icons\\ability_rogue_combatreadiness";t4=CF(F);TrS(t4,1104,500,"cd4",t4p,22,false);t4:SetScript(OE,function(_,_,U,N)Ts(t4,cd4,U,N,"Combat Readiness",90)end);
  278. t5p="Interface\\Icons\\ability_vanish";t5=CF(F);TrS(t5,1126,500,"cd5",t5p,22,false);t5:SetScript(OE,function(_,_,U,N)Ts(t5,cd5,U,N,"Vanish",120)end);
  279. t6p="Interface\\Icons\\ability_rogue_dismantle";t6=CF(F);TrS(t6,1148,500,"cd6",t6p,22,false);t6:SetScript(OE,function(_,_,U,N)Ts(t6,cd6,U,N,"Dismantle",60)end);
  280. t7p="Interface\\Icons\\ability_rogue_shadowstep";t7=CF(F);TrS(t7,1170,500,"cd7",t7p,22,false);t7:SetScript(OE,function(_,_,U,N)Ts(t7,cd7,U,N,"Shadowstep",24)end);
  281. t8p="Interface\\Icons\\spell_shadow_mindsteal";t8=CF(F);TrS(t8,1192,500,"cd8",t8p,22,false);t8:SetScript(OE,function(_,_,U,N)Ts(t8,cd8,U,N,"Blind",120)end);
  282. t9p="Interface\\Icons\\ability_rogue_smoke";t9=CF(F);TrS(t9,1214,500,"cd9",t9p,22,false);t9:SetScript(OE,function(_,_,U,N)Ts(t9,cd9,U,N,"Smoke Bomb",180)end);
  283. t10p="Interface\\Icons\\ability_rogue_preparation";t10=CF(F);TrS(t10,1236,500,"cd10",t10p,22,false);t10:SetScript(OE,function(_,_,U,N)Ts(t10,cd10,U,N,"Preparation",300)end);
  284.  
  285. t11p="Interface\\Icons\\spell_shadow_deathscream";t11=CF(F);TrS(t11,1060,470,"cd11",t11p,22,false);t11:SetScript(OE,function(_,_,U,N)Ts(t11,cd11,U,N,"Howl of Terror",32)end);
  286. t12p="Interface\\Icons\\spell_shadow_deathcoil";t12=CF(F);TrS(t12,1104,470,"cd12",t12p,22,false);t12:SetScript(OE,function(_,_,U,N)Ts(t12,cd12,U,N,"Death Coil",90)end);
  287. t13p="Interface\\Icons\\spell_shadow_demoniccircleteleport";t13=CF(F);TrS(t13,1082,470,"cd13",t13p,22,false);t13:SetScript(OE,function(_,_,U,N)Ts(t13,cd13,U,N,"Demonic Portal: Teleport",25)end);
  288. t14p="Interface\\Icons\\spell_shadow_mindrot";t14=CF(F);TrS(t14,1126,470,"cd14",t14p,22,false);t14:SetScript(OE,function(_,_,U,N)Ts(t14,cd14,U,N,"Spell Lock",24)end);
  289.  
  290. t15p="Interface\\Icons\\ability_mage_deepfreeze";t15=CF(F);TrS(t15,1060,440,"cd15",t15p,22,false);t15:SetScript(OE,function(_,_,U,N)Ts(t15,cd15,U,N,"Deep Freeze",30)end);
  291. t16p="Interface\\Icons\\spell_frost_wizardmark";t16=CF(F);TrS(t16,1082,440,"cd16",t16p,22,false);t16:SetScript(OE,function(_,_,U,N)Ts(t16,cd16,U,N,"Cold Snap",480)end);
  292. t17p="Interface\\Icons\\spell_arcane_blink";t17=CF(F);TrS(t17,1104,440,"cd17",t17p,22,false);t17:SetScript(OE,function(_,_,U,N)Ts(t17,cd17,U,N,"Blink",15)end);
  293. t17p="Interface\\Icons\\spell_arcane_blink";t17=CF(F);TrS(t17,1104,440,"cd17",t17p,22,false);t17:SetScript(OE,function(_,_,U,N)Ts(t17,cd17,U,N,"Blink",15)end);
  294.  
  295. t18p="Interface\\Icons\\spell_shadow_soulleech_3";t18=CF(F);TrS(t18,1148,410,"cd18",t18p,22,false);t18:SetScript(OE,function(_,_,U,N)Ts(t18,cd18,U,N,"Strangulate",120)end);
  296. t19p="Interface\\Icons\\spell_shadow_antimagicshell";t19=CF(F);TrS(t19,1082,410,"cd19",t19p,22,false);t19:SetScript(OE,function(_,_,U,N)Ts(t19,cd19,U,N,"Anti-Magic Shell",45)end);
  297. t20p="Interface\\Icons\\spell_deathknight_iceboundfortitude";t20=CF(F);TrS(t20,1104,410,"cd20",t20p,22,false);t20:SetScript(OE,function(_,_,U,N)Ts(t20,cd20,U,N,"Icebound Fortitude",180)end);
  298. t21p="Interface\\Icons\\inv_sword_62";t21=CF(F);TrS(t21,1192,410,"cd21",t21p,22,false);t21:SetScript(OE,function(_,_,U,N)Ts(t21,cd21,U,N,"Empowered Rune Weapon",300)end);
  299. t22p="Interface\\Icons\\spell_shadow_raisedead";t22=CF(F);TrS(t22,1126,410,"cd22",t22p,22,false);t22:SetScript(OE,function(_,_,U,N)Ts(t22,cd22,U,N,"Lichborne",120)end);
  300. t23p="Interface\\Icons\\spell_deathknight_strangulate";t23=CF(F);TrS(t23,1060,410,"cd23",t23p,22,false);t23:SetScript(OE,function(_,_,U,N)Ts(t23,cd23,U,N,"Death Grip",25)end);
  301. t24p="Interface\\Icons\\spell_deathknight_antimagiczone";t24=CF(F);TrS(t24,1148,410,"cd24",t24p,22,false);t24:SetScript(OE,function(_,_,U,N)Ts(t24,cd24,U,N,"Anti-Magic Zone",120)end);
  302. t25p="Interface\\Icons\\ability_deathknight_summongargoyle";t25=CF(F);TrS(t25,1170,410,"cd25",t25p,22,false);t25:SetScript(OE,function(_,_,U,N)Ts(t25,cd25,U,N,"Summon Gargoyle",180)end);
  303.  
  304. t26p="Interface\\Icons\\spell_shadow_psychicscream";t26=CF(F);TrS(t26,1060,385,"cd26",t26p,22,false);t26:SetScript(OE,function(_,_,U,N)Ts(t26,cd26,U,N,"Psychic Scream",26)end);
  305. t27p="Interface\\Icons\\spell_shadow_psychicscream";t27=CF(F);TrS(t27,1082,385,"cd27",t27p,22,false);t27:SetScript(OE,function(_,_,U,N)Ts(t27,cd27,U,N,"Psychic Scream",30)end);
  306. t28p="Interface\\Icons\\spell_frost_windwalkon";t28=CF(F);TrS(t28,1104,385,"cd28",t28p,22,false);t28:SetScript(OE,function(_,_,U,N)Ts(t28,cd28,U,N,"Inner Focus",45)end);
  307. t29p="Interface\\Icons\\spell_holy_painsupression";t29=CF(F);TrS(t29,1126,385,"cd29",t29p,22,false);t29:SetScript(OE,function(_,_,U,N)Ts(t29,cd29,U,N,"Pain Suppression",45)end);
  308. t30p="Interface\\Icons\\spell_shadow_dispersion";t30=CF(F);TrS(t30,1148,385,"cd30",t30p,22,false);t30:SetScript(OE,function(_,_,U,N)Ts(t30,cd30,U,N,"Dispersion",115)end);
  309. t31p="Interface\\Icons\\spell_shadow_psychichorrors";t31=CF(F);TrS(t31,1170,385,"cd31",t31p,22,false);t31:SetScript(OE,function(_,_,U,N)Ts(t31,cd31,U,N,"Psychic Horror",90)end);
  310. t32p="Interface\\Icons\\ability_priest_silence";t32=CF(F);TrS(t32,1192,385,"cd32",t32p,22,false);t32:SetScript(OE,function(_,_,U,N)Ts(t32,cd32,U,N,"Silence",45)end);
  311.  
  312. t33p="Interface\\Icons\\spell_holy_sealofvalor";t33=CF(F);TrS(t33,1060,350,"cd33",t33p,22,false);t33:SetScript(OE,function(_,_,U,N)Ts(t33,cd33,U,N,"Hand of Freedom",25)end);
  313. t34p="Interface\\Icons\\spell_holy_sealofmight";t34=CF(F);TrS(t34,1082,350,"cd34",t34p,22,false);t34:SetScript(OE,function(_,_,U,N)Ts(t34,cd34,U,N,"Hammer of Justice",40)end);
  314. t58p="Interface\\Icons\\spell_holy_sealofmight";t58=CF(F);TrS(t58,1104,350,"cd58",t58p,22,false);t58:SetScript(OE,function(_,_,U,N)Ts(t58,cd58,U,N,"Hammer of Justice",60)end);
  315. t35p="Interface\\Icons\\spell_holy_sealofsacrifice";t35=CF(F);TrS(t35,1126,350,"cd35",t35p,22,false);t35:SetScript(OE,function(_,_,U,N)Ts(t35,cd35,U,N,"Hand of Sacrifice",90)end);
  316. t36p="Interface\\Icons\\spell_holy_sealofprotection";t36=CF(F);TrS(t36,1148,350,"cd36",t36p,22,false);t36:SetScript(OE,function(_,_,U,N)Ts(t36,cd36,U,N,"Hand of Protection",180)end);
  317. t37p="Interface\\Icons\\spell_holy_divineshield";t37=CF(F);TrS(t37,1170,350,"cd37",t37p,22,false);t37:SetScript(OE,function(_,_,U,N)Ts(t37,cd37,U,N,"Divine Shield",300)end);
  318. t38p="Interface\\Icons\\spell_holy_auramastery";t38=CF(F);TrS(t38,1192,350,"cd38",t38p,22,false);t38:SetScript(OE,function(_,_,U,N)Ts(t38,cd38,U,N,"Aura Mastery",120)end);
  319.  
  320. t39p="Interface\\Icons\\ability_warrior_charge";t39=CF(F);TrS(t39,1060,320,"cd39",t39p,22,false);t39:SetScript(OE,function(_,_,U,N)Ts(t39,cd39,U,N,"Charge",13)end);
  321. t40p="Interface\\Icons\\inv_mace_62";t40=CF(F);TrS(t40,1082,320,"cd40",t40p,22,false);t40:SetScript(OE,function(_,_,U,N)Ts(t40,cd40,U,N,"Throwdown",45)end);
  322. t41p="Interface\\Icons\\ability_heroicleap";t41=CF(F);TrS(t41,1104,320,"cd41",t41p,22,false);t41:SetScript(OE,function(_,_,U,N)Ts(t41,cd41,U,N,"Heroic Leap",60)end);
  323. t42p="Interface\\Icons\\spell_nature_ancestralguardian";t42=CF(F);TrS(t42,1126,320,"cd42",t42p,22,false);t42:SetScript(OE,function(_,_,U,N)Ts(t42,cd42,U,N,"Berserker Rage",30)end);
  324. t43p="Interface\\Icons\\ability_criticalstrike";t43=CF(F);TrS(t43,1148,320,"cd43",t43p,22,false);t43:SetScript(OE,function(_,_,U,N)Ts(t43,cd43,U,N,"Recklessness",300)end);
  325. t44p="Interface\\Icons\\ability_warrior_shieldwall";t44=CF(F);TrS(t44,1170,320,"cd44",t44p,22,false);t44:SetScript(OE,function(_,_,U,N)Ts(t44,cd44,U,N,"Shield Wall",300)end);
  326.  
  327. t45p="Interface\\Icons\\ability_hunter_pet_bear";t45=CF(F);TrS(t45,1060,290,"cd45",t45p,22,false);t45:SetScript(OE,function(_,_,U,N)Ts(t54,cd54,U,N,"Feral Charge",14)end);
  328. t46p="Interface\\Icons\\spell_druid_feralchargecat";t46=CF(F);TrS(t46,1082,290,"cd46",t46p,22,false);t46:SetScript(OE,function(_,_,U,N)Ts(t46,cd46,U,N,"Feral Charge",28)end);
  329. t47p="Interface\\Icons\\spell_nature_stoneclawtotem";t47=CF(F);TrS(t47,1104,290,"cd47",t47p,22,false);t47:SetScript(OE,function(_,_,U,N)Ts(t47,cd47,U,N,"Barkskin",60)end);
  330. t48p="Interface\\Icons\\ability_druid_bash";t48=CF(F);TrS(t48,1126,290,"cd48",t48p,22,false);t48:SetScript(OE,function(_,_,U,N)Ts(t48,cd48,U,N,"Bash",60)end);
  331. t49p="Interface\\Icons\\ability_druid_tigersroar";t49=CF(F);TrS(t49,1148,290,"cd49",t49p,22,false);t49:SetScript(OE,function(_,_,U,N)Ts(t49,cd49,U,N,"Survival Instincts",180)end);
  332. t50p="Interface\\Icons\\ability_druid_berserk";t50=CF(F);TrS(t50,1170,290,"cd50",t50p,22,false);t50:SetScript(OE,function(_,_,U,N)Ts(t50,cd50,U,N,"Berserk",180)end);
  333.  
  334. t51p="Interface\\Icons\\ability_golemstormbolt";t51=CF(F);TrS(t51,1060,260,"cd51",t51p,22,false);t51:SetScript(OE,function(_,_,U,N)Ts(t51,cd51,U,N,"Scatter Shot",30)end);
  335. t52p="Interface\\Icons\\spell_frost_chainsofice";t52=CF(F);TrS(t52,1082,260,"cd52",t52p,22,false);t52:SetScript(OE,function(_,_,U,N)Ts(t52,cd52,U,N,"Freezing Trap",30)end);
  336. t53p="Interface\\Icons\\ability_whirlwind";t53=CF(F);TrS(t53,1104,260,"cd53",t53p,22,false);t53:SetScript(OE,function(_,_,U,N)Ts(t53,cd53,U,N,"Deterrence",120)end);
  337. t54p="Interface\\Icons\\ability_rogue_feint";t54=CF(F);TrS(t54,1126,260,"cd54",t54p,22,false);t54:SetScript(OE,function(_,_,U,N)Ts(t54,cd54,U,N,"Disengage",16)end);
  338.  
  339. t55p="Interface\\Icons\\spell_shaman_hex";t55=CF(F);TrS(t55,1060,230,"cd55",t55p,22,false);t55:SetScript(OE,function(_,_,U,N)Ts(t55,cd55,U,N,"Hex",35)end);
  340. t56p="Interface\\Icons\\spell_shaman_spiritlink";t56=CF(F);TrS(t56,1082,230,"cd56",t56p,22,false);t56:SetScript(OE,function(_,_,U,N)Ts(t56,cd56,U,N,"Spirit Link Totem",180)end);
  341. t57p="Interface\\Icons\\spell_nature_tremortotem";t57=CF(F);TrS(t57,1104,230,"cd57",t57p,22,false);t57:SetScript(OE,function(_,_,U,N)Ts(t57,cd57,U,N,"Tremor Totem",60)end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement