Advertisement
Guest User

Untitled

a guest
Dec 14th, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.45 KB | None | 0 0
  1. if ak.ai() then return end
  2.  
  3. if ak.limbs.shikudo.BreakWho and ak.limbs.shikudo.BreakWho == matches[2] and matches[3] == "head" then
  4.     ak.limbs.limbcount[ak.limbs.shikudo.BreakWho][ak.limbs.shikudo.BreakLimb] = ak.limbs.limbcount[ak.limbs.shikudo.BreakWho][ak.limbs.shikudo.BreakLimb] + ak.limbs.shikudo.BreakPercent
  5.     if target == ak.limbs.shikudo.BreakWho then
  6.         ak.limbs.damageEcho_Target(ak.limbs.shikudo.BreakWho,ak.limbs.shikudo.BreakLimb)
  7.     else
  8.         ak.limbs.damageEcho_Non_Target(ak.limbs.shikudo.BreakWho,ak.limbs.shikudo.BreakLimb)
  9.     end
  10.     ak.limbs.shikudo.BreakWho = false
  11. end
  12.  
  13. if not IsTargetted(matches[2]) then return end
  14. if matches[3] == "skin" and not ak.defs.mass then
  15.    ak.defs.mass = true
  16.      ak.bals.salve = true
  17.    cecho("<cyan>Mass Consideration Removed")
  18. elseif ak.bals.salve then
  19.     if affstrack.score.aeon == 100 and affstrack.score.slickness == 100 then
  20.        return
  21.     else
  22.        affstrack.score.tempslickness= 0
  23.        ak.bals.salve = false
  24.        if affstrack.score.slickness>0 then
  25.           if ak.thoughtIhad then
  26.                     ak.thoughtIhad("slickness")
  27.                 else
  28.                     affstrack.score.slickness = 0
  29.                 end  
  30.        end
  31.        ak.cure.apply(matches[3])       
  32.          if ak.timers.apply then           
  33.             killTimer(ak.timers.apply)     
  34.          end
  35.        ak.timers.apply = tempTimer(.8,[[ak.bals.salve = true;ak.timers.apply = false]])
  36.        --cecho("<cyan>Processed Cures")
  37.     end
  38. else
  39.     if ak.timers.apply then
  40.         ak.bals.salve = true
  41.         cecho("<cyan>Ignored Cures")
  42.     end
  43. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement