Advertisement
Atalkez

Untitled

Oct 4th, 2021
1,223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.57 KB | None | 0 0
  1. function dwcAttack()
  2.   if myClass() == "paladin" then
  3.     if spec == "Dual Cutting" then
  4.         local tbl1 = {"paralysis", "anorexia", "sleep"}
  5.         local tbl2 = {"asthma", "slickness", "weariness", "recklessness", "dizziness", "shyness"}
  6.         for k,v in pairs(tbl1) do
  7.           if not tarAff(v) then
  8.             ven1 = affToVenom(v)
  9.           end
  10.         end
  11.        
  12.         for k,v in pairs(tbl2) do
  13.           if not tarAff(v) then
  14.             if ven1 == "delphinium" then
  15.               ven2 = "delphinium"
  16.             else
  17.               ven2 = affToVenom(v)
  18.             end
  19.           end
  20.         end
  21.        
  22.         aff1 = ven1
  23.         aff2 = ven2
  24.        
  25.         tempTimer(1, [[aff1 = ""]])
  26.         tempTimer(1, [[aff2 = ""]])
  27.         tempTimer(1, [[aff3 = ""]])
  28.         tempTimer(1, [[aff4 = ""]])
  29.       if raid then
  30.         limbTarget = "head"
  31.         if tarAff("aeon") and not tarAff("damagedhead") then
  32.           if (tarReb or tarShield) then
  33.             if tarAff("asthma") and tarAff("impatience") and tarAff("slickness") then
  34.               send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/razeslash &tar head slike" ..wrathful().. ";queue add eqbal x1")
  35.             else
  36.               send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/razeslash &tar head " ..ven1.. "" ..wrathful().. ";queue add eqbal x1")
  37.             end
  38.           elseif not tarReb and not tarShield then
  39.             if tarPercent >= 25 then
  40.               if tarAff("asthma") and tarAff("impatience") then
  41.                 send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar" ..wrathful().. "dsl &tar head slike gecko;queue add eqbal x1")
  42.               else
  43.                 send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar" ..wrathful().. "dsl &tar head " ..ven1.. " " ..ven2.. ";queue add eqbal x1")
  44.               end
  45.             else
  46.               send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/perform pyre &tar/perform confront &tar/arc &tar prefarar;queue add eqbal x1")
  47.             end
  48.           end
  49.        
  50.         elseif tarAff("aeon") and tarAff("damagedhead") then
  51.           if not (tarReb or tarShield) then
  52.             if tarAff("burn5") then
  53.               send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/perform damnation &tar;queue add eqbal x1")
  54.             elseif not tarAff("burn5") then
  55.               local total = 0
  56.               local affs = {"spiritburn", "guilt", "pyre"}
  57.               for _,a in pairs(affs) do
  58.                 if tarAff(a) then
  59.                   total = total+1
  60.                 end
  61.               end
  62.              
  63.               if total >= 2 then
  64.                 send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/perform damnation &tar;queue add eqbal x1")
  65.               else
  66.                 if (tarAff("guilt") or tarAff("spiritburn")) and not tarAff("pyre") then
  67.                   send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/perform pyre &tar/perform damnation &tar;queue add eqbal x1")
  68.                 else
  69.                   send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar" ..wrathful().. "dsl &tar head " ..ven1.. " " ..ven2.. ";queue add eqbal x1")
  70.                 end
  71.               end
  72.             end
  73.           elseif (tarReb or tarShield) then
  74.             send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/razeslash &tar head " ..ven1.. "" ..wrathful().. ";queue add eqbal x1")
  75.           end
  76.        
  77.         else
  78.           if tarAff("damagedhead") then
  79.             local total = 0
  80.             local affs = {"spiritburn", "guilt", "pyre"}
  81.             for _,a in pairs(affs) do
  82.               if tarAff(a) then
  83.                 total = total+1
  84.               end
  85.             end
  86.             if not (tarReb or tarShield) then
  87.               if (tarAff("burn5") or total >= 2) then
  88.                 send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/perform damnation &tar;queue add eqbal x1")
  89.               elseif not tarAff("burn5") and total ~= 2 and total ~= 3 then
  90.                 if (tarAff("spiritburn") or tarAff("guilt")) then
  91.                   send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/perform pyre &tar/perform damnation &tar;queue add eqbal x1")
  92.                 else
  93.                   send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar" ..wrathful().. "dsl &tar head " ..ven1.. " " ..ven2..";queue add eqbal x1")
  94.                 end
  95.               else
  96.                 send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar" ..wrathful().. "dsl &tar head " ..ven1.. " " ..ven2.. ";queue add eqbal x1")
  97.               end
  98.             else
  99.               send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar" ..wrathful().. "dsl &tar head " ..ven1.. " " ..ven2.. ";queue add eqbal x1")
  100.             end
  101.           elseif (tarReb or tarShield) then
  102.             send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/razeslash &tar head " ..ven1.. "" ..wrathful().. ";queue add eqbal x1")
  103.           end
  104.         end
  105.       else
  106.         if (tarReb or tarShield) then
  107.           send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar/razeslash &tar head " ..ven1.. "" ..wrathful().. ";queue add eqbal x1")
  108.         else
  109.           send("cq all;clearalias x1;setalias x1 stand/wield 424092 200824/" ..getMount().. "/" ..parryLimb().. "/order loyals kill &tar" ..wrathful().. "dsl &tar head " ..ven1.. " " ..ven2.. ";queue add eqbal x1")
  110.         end
  111.       end
  112.     end
  113.   end
  114. end
  115.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement