Advertisement
Guest User

Untitled

a guest
Feb 18th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. /script
  2. do local autotap=0; taphp=888; tapmp=999; assistldr=0; snipe=1; minmana=430; shadowburn=1; fulldbfhp=50000; dbfhp=27500; drainhp=9000; ldr=LazyPigMultibox_ReturnLeaderUnit(); shardmin=3; shardmax=40;
  3. if not UnitIsDeadOrGhost("player") and not Zorlen_isCastingOrChanneling() then
  4.  
  5. if UnitInRaid("player") then
  6.  
  7. if assistldr==1 and snipe==1 and not Zorlen_isActiveEnemy() then AssistUnit(ldr) elseif assistldr==1 then AssistUnit(ldr) end;
  8.  
  9. if Zorlen_isActiveEnemy() and UnitMana("player") >= minmana then
  10.  
  11. if autotap==1 and (Zorlen_ManaMissing("player") > tapmp and Zorlen_HealthDamage("player") < taphp) and (Zorlen_checkBuffByName("Renew","player") or Zorlen_checkBuffByName("Rejuvenation","player") or Zorlen_checkBuffByName("Regrowth","player") or Zorlen_checkDebuffByName("Vampiric Embrace", "target")) then castLifeTap(6);
  12.  
  13. elseif isActionInRangeBySpellName("Shadowburn") then
  14.  
  15. if Zorlen_checkBuffByName("Shadow Trance","player") then castShadowBolt() elseif
  16. shadowburn==1 and Zorlen_checkCooldownByName("Shadowburn") and Zorlen_checkDebuff("Spell_Shadow_ShadowBolt","target") and Zorlen_GiveSoulShardCount() > shardmin then castShadowburn() elseif
  17. UnitHealth("target") >= fulldbfhp then castCorruption();castCoA();castShadowBolt() elseif
  18. UnitHealth("target") >= dbfhp then castCorruption();castShadowBolt() elseif
  19. UnitHealth("target") <= dbfhp and UnitHealth("target") >= drainhp then castShadowBolt() elseif
  20. UnitHealth("target") <= drainhp and Zorlen_GiveSoulShardCount() < shardmax then castDrainSoul(1) else
  21. castShadowburn(); castShadowBolt(4); end;
  22.  
  23. elseif isActionInRangeBySpellName("Shadow Bolt") then
  24.  
  25. if Zorlen_checkBuffByName("Shadow Trance","player") then castShadowBolt() elseif
  26. UnitHealth("target") >= fulldbfhp then castCorruption();castCoA();castShadowBolt() elseif
  27. UnitHealth("target") >= dbfhp then castCorruption();castShadowBolt() elseif
  28. UnitHealth("target") <= dbfhp and UnitHealth("target") >= drainhp then castShadowBolt() elseif
  29. UnitHealth("target") <= drainhp and Zorlen_GiveSoulShardCount() < shardmax then castDrainSoul(1) else
  30. castShadowBolt(4); end;
  31.  
  32. end;
  33.  
  34. elseif Zorlen_ManaMissing("player") > tapmp and UnitHealth("player") > taphp then castLifeTap(6);
  35. end;
  36.  
  37. elseif Zorlen_isActiveEnemy() then
  38.  
  39. if Zorlen_HealthPercent("target") >= 20 then castShadowBolt() else castSearingPain();
  40. end;
  41.  
  42. end;
  43.  
  44. end;
  45. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement