Guest User

Untitled

a guest
Jul 20th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.93 KB | None | 0 0
  1. 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"
  2. 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);ifnot h then f:Hide(); end f:RegisterEvent(USS) end
  3. function Ts(f,cd,U,N,S,TI)if CPz(N,S,U) then f:Show();CooldownFrame_SetTimer(cd,GetTime(),TI,1) end end
  4. function CPz(N,S,U) if(N==S and (U=="arena1" or U=="target" or U=="arena2" or U=="arena3" or U=="arenapet1" or U=="arenapet2" or U=="arenapet3"))then return true else return false end end
  5.  
  6. t1p="Interface\\Icons\\ability_rogue_shadowdance";t1=CF(F);TrS(t1,240,560,"cd1",t1p,22,false);t1:SetScript(OE,function(self,event,...)Ts(t1,cd1,select(1,...),select(5,...),51713,60) end);
  7. t2p="Interface\\Icons\\ability_rogue_kidneyshot";t2=CF(F);TrS(t2,262,560,"cd2",t2p,22,false);t2:SetScript(OE,function(self,event,...)Ts(t2,cd2,select(1,...),select(5,...),408,20) end);
  8. t3p="Interface\\Icons\\spell_shadow_nethercloak";t3=CF(F);TrS(t3,284,560,"cd3",t3p,22,false);t3:SetScript(OE,function(self,event,...)Ts(t3,cd3,select(1,...),select(5,...),31224,90) end);
  9. t4p="Interface\\Icons\\ability_rogue_combatreadiness";t4=CF(F);TrS(t4,284,560,"cd4",t4p,22,false);t4:SetScript(OE,function(self,event,...)Ts(t4,cd4,select(1,...),select(5,...),74001,90) end);
  10. t5p="Interface\\Icons\\ability_vanish";t5=CF(F);TrS(t5,306,560,"cd5",t5p,22,false);t5:SetScript(OE,function(self,event,...)Ts(t5,cd5,select(1,...),select(5,...),1856,120) end);
  11. t6p="Interface\\Icons\\ability_rogue_dismantle";t6=CF(F);TrS(t6,328,560,"cd6",t6p,22,false);t6:SetScript(OE,function(self,event,...)Ts(t6,cd6,select(1,...),select(5,...),51722,60) end);
  12. t7p="Interface\\Icons\\ability_rogue_shadowstep";t7=CF(F);TrS(t7,350,560,"cd7",t7p,22,false);t7:SetScript(OE,function(self,event,...)Ts(t7,cd7,select(1,...),select(5,...),36554,24) end);
  13. t8p="Interface\\Icons\\spell_shadow_mindsteal";t8=CF(F);TrS(t8,372,560,"cd8",t8p,22,false);t8:SetScript(OE,function(self,event,...)Ts(t8,cd8,select(1,...),select(5,...),2094,120) end);
  14. t9p="Interface\\Icons\\ability_rogue_smoke";t9=CF(F);TrS(t9,394,560,"cd9",t9p,22,false);t9:SetScript(OE,function(self,event,...)Ts(t9,cd9,select(1,...),select(5,...),76577,180) end);
  15. t10p="Interface\\Icons\\ability_rogue_preparation";t10=CF(F);TrS(t10,416,560,"cd10",t10p,22,false);t10:SetScript(OE,function(self,event,...)Ts(t10,cd10,select(1,...),select(5,...),14185,300) end);
  16.  
  17. t11p="Interface\\Icons\\spell_shadow_deathscream";t11=CF(F);TrS(t11,240,530,"cd11",t11p,22,false);t11:SetScript(OE,function(self,event,...)Ts(t11,cd11,select(1,...),select(5,...),5484,32) end);
  18. t12p="Interface\\Icons\\spell_shadow_deathcoil";t12=CF(F);TrS(t12,284,530,"cd12",t12p,22,false);t12:SetScript(OE,function(self,event,...)Ts(t12,cd12,select(1,...),select(5,...),6789,90) end);
  19. t13p="Interface\\Icons\\spell_shadow_demoniccircleteleport";t13=CF(F);TrS(t13,262,530,"cd13",t13p,22,false);t13:SetScript(OE,function(self,event,...)Ts(t13,cd13,select(1,...),select(5,...),48020,25) end);
  20. t14p="Interface\\Icons\\spell_shadow_mindrot";t14=CF(F);TrS(t14,306,530,"cd14",t14p,22,false);t14:SetScript(OE,function(self,event,...)Ts(t14,cd14,select(1,...),select(5,...),19647,24) end);
  21.  
  22. t15p="Interface\\Icons\\ability_mage_deepfreeze";t15=CF(F);TrS(t15,240,500,"cd15",t15p,22,false);t15:SetScript(OE,function(self,event,...)Ts(t15,cd15,select(1,...),select(5,...),44572,30) end);
  23. t16p="Interface\\Icons\\spell_frost_wizardmark";t16=CF(F);TrS(t16,262,500,"cd16",t16p,22,false);t16:SetScript(OE,function(self,event,...)Ts(t16,cd16,select(1,...),select(5,...),11958,480) end);
  24. t17p="Interface\\Icons\\spell_arcane_blink";t17=CF(F);TrS(t17,284,500,"cd17",t17p,22,false);t17:SetScript(OE,function(self,event,...)Ts(t17,cd17,select(1,...),select(5,...),1953,15) end);
  25. t59p="Interface\\Icons\\spell_frost_iceshock";t59=CF(F);TrS(t59,306,500,"cd59",t59p,22,false);t59:SetScript(OE,function(self,event,...)Ts(t59,cd59,select(1,...),select(5,...),2139,24) end);
  26.  
  27. t18p="Interface\\Icons\\spell_shadow_soulleech_3";t18=CF(F);TrS(t18,240,470,"cd18",t18p,22,false);t18:SetScript(OE,function(self,event,...)Ts(t18,cd18,select(1,...),select(5,...),47476,120) end);
  28. t19p="Interface\\Icons\\spell_shadow_antimagicshell";t19=CF(F);TrS(t19,262,470,"cd19",t19p,22,false);t19:SetScript(OE,function(self,event,...)Ts(t19,cd19,select(1,...),select(5,...),48707,45) end);
  29. t20p="Interface\\Icons\\spell_deathknight_iceboundfortitude";t20=CF(F);TrS(t20,284,470,"cd20",t20p,22,false);t20:SetScript(OE,function(self,event,...)Ts(t20,cd20,select(1,...),select(5,...),48792,180) end);
  30. t21p="Interface\\Icons\\inv_sword_62";t21=CF(F);TrS(t21,306,470,"cd21",t21p,22,false);t21:SetScript(OE,function(self,event,...)Ts(t21,cd21,select(1,...),select(5,...),47568,300) end);
  31. t22p="Interface\\Icons\\spell_shadow_raisedead";t22=CF(F);TrS(t22,328,470,"cd22",t22p,22,false);t22:SetScript(OE,function(self,event,...)Ts(t22,cd22,select(1,...),select(5,...),49039,120) end);
  32. t23p="Interface\\Icons\\spell_deathknight_strangulate";t23=CF(F);TrS(t23,350,470,"cd23",t23p,22,false);t23:SetScript(OE,function(self,event,...)Ts(t23,cd23,select(1,...),select(5,...),49576,25) end);
  33. t24p="Interface\\Icons\\spell_deathknight_antimagiczone";t24=CF(F);TrS(t24,372,470,"cd24",t24p,22,false);t24:SetScript(OE,function(self,event,...)Ts(t24,cd24,select(1,...),select(5,...),51052,120) end);
  34. t25p="Interface\\Icons\\ability_deathknight_summongargoyle";t25=CF(F);TrS(t25,394,470,"cd25",t25p,22,false);t25:SetScript(OE,function(self,event,...)Ts(t25,cd25,select(1,...),select(5,...),49206,180) end);
  35.  
  36. t26p="Interface\\Icons\\spell_shadow_psychicscream";t26=CF(F);TrS(t26,240,440,"cd26",t26p,22,false);t26:SetScript(OE,function(self,event,...)Ts(t26,cd26,select(1,...),select(5,...),8122,26) end);
  37. t27p="Interface\\Icons\\spell_shadow_psychicscream";t27=CF(F);TrS(t27,262,440,"cd27",t27p,22,false);t27:SetScript(OE,function(self,event,...)Ts(t27,cd27,select(1,...),select(5,...),8122,30) end);
  38. t28p="Interface\\Icons\\spell_frost_windwalkon";t28=CF(F);TrS(t28,284,440,"cd28",t28p,22,false);t28:SetScript(OE,function(self,event,...)Ts(t28,cd28,select(1,...),select(5,...),89485,45) end);
  39. t29p="Interface\\Icons\\spell_holy_painsupression";t29=CF(F);TrS(t29,306,440,"cd29",t29p,22,false);t29:SetScript(OE,function(self,event,...)Ts(t29,cd29,select(1,...),select(5,...),33206,45) end);
  40. t30p="Interface\\Icons\\spell_shadow_dispersion";t30=CF(F);TrS(t30,328,440,"cd30",t30p,22,false);t30:SetScript(OE,function(self,event,...)Ts(t30,cd30,select(1,...),select(5,...),47585,115) end);
  41. t31p="Interface\\Icons\\spell_shadow_psychichorrors";t31=CF(F);TrS(t31,350,440,"cd31",t31p,22,false);t31:SetScript(OE,function(self,event,...)Ts(t31,cd31,select(1,...),select(5,...),64044,90) end);
  42. t32p="Interface\\Icons\\ability_priest_silence";t32=CF(F);TrS(t32,372,440,"cd32",t32p,22,false);t32:SetScript(OE,function(self,event,...)Ts(t32,cd32,select(1,...),select(5,...),15487,45) end);
  43.  
  44. t33p="Interface\\Icons\\spell_holy_sealofvalor";t33=CF(F);TrS(t33,240,410,"cd33",t33p,22,false);t33:SetScript(OE,function(self,event,...)Ts(t33,cd33,select(1,...),select(5,...),1044,25) end);
  45. t34p="Interface\\Icons\\spell_holy_sealofmight";t34=CF(F);TrS(t34,262,410,"cd34",t34p,22,false);t34:SetScript(OE,function(self,event,...)Ts(t34,cd34,select(1,...),select(5,...),853,40) end);
  46. t58p="Interface\\Icons\\spell_holy_sealofmight";t58=CF(F);TrS(t58,284,410,"cd58",t58p,22,false);t58:SetScript(OE,function(self,event,...)Ts(t58,cd58,select(1,...),select(5,...),853,60) end);
  47. t35p="Interface\\Icons\\spell_holy_sealofsacrifice";t35=CF(F);TrS(t35,306,410,"cd35",t35p,22,false);t35:SetScript(OE,function(self,event,...)Ts(t35,cd35,select(1,...),select(5,...),6940,90) end);
  48. t36p="Interface\\Icons\\spell_holy_sealofprotection";t36=CF(F);TrS(t36,328,410,"cd36",t36p,22,false);t36:SetScript(OE,function(self,event,...)Ts(t36,cd36,select(1,...),select(5,...),1022,180) end);
  49. t37p="Interface\\Icons\\spell_holy_divineshield";t37=CF(F);TrS(t37,350,410,"cd37",t37p,22,false);t37:SetScript(OE,function(self,event,...)Ts(t37,cd37,select(1,...),select(5,...),642,300) end);
  50. t38p="Interface\\Icons\\spell_holy_auramastery";t38=CF(F);TrS(t38,372,410,"cd38",t38p,22,false);t38:SetScript(OE,function(self,event,...)Ts(t38,cd38,select(1,...),select(5,...),31821,120) end);
  51.  
  52. t39p="Interface\\Icons\\ability_warrior_charge";t39=CF(F);TrS(t39,240,380,"cd39",t39p,22,false);t39:SetScript(OE,function(self,event,...)Ts(t39,cd39,select(1,...),select(5,...),100,13) end);
  53. t40p="Interface\\Icons\\inv_mace_62";t40=CF(F);TrS(t40,262,380,"cd40",t40p,22,false);t40:SetScript(OE,function(self,event,...)Ts(t40,cd40,select(1,...),select(5,...),85388,45) end);
  54. t41p="Interface\\Icons\\ability_heroicleap";t41=CF(F);TrS(t41,284,380,"cd41",t41p,22,false);t41:SetScript(OE,function(self,event,...)Ts(t41,cd41,select(1,...),select(5,...),6544,60) end);
  55. t42p="Interface\\Icons\\spell_nature_ancestralguardian";t42=CF(F);TrS(t42,306,380,"cd42",t42p,22,false);t42:SetScript(OE,function(self,event,...)Ts(t42,cd42,select(1,...),select(5,...),18499,30) end);
  56. t43p="Interface\\Icons\\ability_criticalstrike";t43=CF(F);TrS(t43,328,380,"cd43",t43p,22,false);t43:SetScript(OE,function(self,event,...)Ts(t43,cd43,select(1,...),select(5,...),1719,300) end);
  57. t44p="Interface\\Icons\\ability_warrior_shieldwall";t44=CF(F);TrS(t44,350,380,"cd44",t44p,22,false);t44:SetScript(OE,function(self,event,...)Ts(t44,cd44,select(1,...),select(5,...),871,300) end);
  58.  
  59. t45p="Interface\\Icons\\ability_hunter_pet_bear";t45=CF(F);TrS(t45,240,350,"cd45",t45p,22,false);t45:SetScript(OE,function(self,event,...)Ts(t45,cd45,select(1,...),select(5,...),16979,14) end);
  60. t46p="Interface\\Icons\\spell_druid_feralchargecat";t46=CF(F);TrS(t46,262,350,"cd46",t46p,22,false);t46:SetScript(OE,function(self,event,...)Ts(t46,cd46,select(1,...),select(5,...),49376,28) end);
  61. t47p="Interface\\Icons\\spell_nature_stoneclawtotem";t47=CF(F);TrS(t47,284,350,"cd47",t47p,22,false);t47:SetScript(OE,function(self,event,...)Ts(t47,cd47,select(1,...),select(5,...),22812,60) end);
  62. t48p="Interface\\Icons\\ability_druid_bash";t48=CF(F);TrS(t48,306,350,"cd48",t48p,22,false);t48:SetScript(OE,function(self,event,...)Ts(t48,cd48,select(1,...),select(5,...),5211,60) end);
  63. t49p="Interface\\Icons\\ability_druid_tigersroar";t49=CF(F);TrS(t49,328,350,"cd49",t49p,22,false);t49:SetScript(OE,function(self,event,...)Ts(t49,cd49,select(1,...),select(5,...),61336,180) end);
  64. t50p="Interface\\Icons\\ability_druid_berserk";t50=CF(F);TrS(t50,350,350,"cd50",t50p,22,false);t50:SetScript(OE,function(self,event,...)Ts(t50,cd50,select(1,...),select(5,...),50334,180) end);
  65.  
  66. t51p="Interface\\Icons\\ability_golemstormbolt";t51=CF(F);TrS(t51,240,320,"cd51",t51p,22,false);t51:SetScript(OE,function(self,event,...)Ts(t51,cd51,select(1,...),select(5,...),19503,30) end);
  67. t52p="Interface\\Icons\\spell_frost_chainsofice";t52=CF(F);TrS(t52,262,320,"cd52",t52p,22,false);t52:SetScript(OE,function(self,event,...)Ts(t52,cd52,select(1,...),select(5,...),1499,30) end);
  68. t53p="Interface\\Icons\\ability_whirlwind";t53=CF(F);TrS(t53,284,320,"cd53",t53p,22,false);t53:SetScript(OE,function(self,event,...)Ts(t53,cd53,select(1,...),select(5,...),19263,120) end);
  69. t54p="Interface\\Icons\\ability_rogue_feint";t54=CF(F);TrS(t54,306,320,"cd54",t54p,22,false);t54:SetScript(OE,function(self,event,...)Ts(t54,cd54,select(1,...),select(5,...),781,16) end);
  70.  
  71. t55p="Interface\\Icons\\spell_shaman_hex";t55=CF(F);TrS(t55,240,290,"cd55",t55p,22,false);t55:SetScript(OE,function(self,event,...)Ts(t55,cd55,select(1,...),select(5,...),51514,35) end);
  72. t56p="Interface\\Icons\\spell_shaman_spiritlink";t56=CF(F);TrS(t56,262,290,"cd56",t56p,22,false);t56:SetScript(OE,function(self,event,...)Ts(t56,cd56,select(1,...),select(5,...),98008,180) end);
  73. t57p="Interface\\Icons\\spell_nature_tremortotem";t57=CF(F);TrS(t57,284,290,"cd57",t57p,22,false);t57:SetScript(OE,function(self,event,...)Ts(t57,cd57,select(1,...),select(5,...),8143,60) end);
Add Comment
Please, Sign In to add comment