Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Hexer_Champ_pvp()
- -- Klassen Abfrage
- local mcn, scn = UnitClass("player");
- -- Klassen Abfrage Gegener
- local main, second = UnitClass("target")
- -- Target ist Boss
- local boss = UnitSex("target") > 2;
- -- Ziel hat mich im target
- local tt = UnitIsUnit("player", "targettarget")
- -- Bin im Kampf
- local combat = GetPlayerCombatState()
- -- Looten
- local tDead = UnitIsDeadOrGhost("target")
- -- PSI
- local PsiPoints = GetSoulPoint()
- -- ich hab mich im target (Serenstum)
- local tp = UnitIsUnit("target", "player")
- if UnitIsDeadOrGhost("target") then pvptab()
- elseif not UnitExists("target") then pvptab()
- elseif (UnitName("target") == UnitName("player")) then pvptab()
- elseif not UnitCanAttack("player","target") then pvptab()
- elseif not UnitIsPlayer("target") then pvptab()
- elseif tt and SBt("Erdkern-Barriere") and checkForItem("Serenstum") and checkForItemCooldown("Serenstum")<.2 and not SBp("Verteidigungsnetz") then UseItemByName("Serenstum")
- elseif tt and SBt("Erdkern-Barriere") and not SBp("Serenstum") and checkForItemCooldown("Serenstum")>.2 and CcS("Verteidigungsnetz")<.2 and MgP(.35) then CastSpellByName("Verteidigungsnetz")
- elseif tt and SBt("Intensivierung") and main == "Ritter" and second == "Magier" and checkForItem("Serenstum") and checkForItemCooldown("Serenstum")<.2 and not SBp("Verteidigungsnetz") then UseItemByName("Serenstum")
- elseif tt and SBt("Intensivierung") and main == "Ritter" and second == "Magier" and not SBp("Serenstum") and checkForItemCooldown("Serenstum")>.2 and CcS("Verteidigungsnetz")<.2 and MgP(.35) then CastSpellByName("Verteidigungsnetz")
- elseif not tp and tt and SBt("Willenskraftklinge") and checkForItem("Serenstum") and checkForItemCooldown("Serenstum")<.2 and not SBp("Verteidigungsnetz") then UseItemByName("Serenstum")
- elseif not tp and tt and SBt("Willenskraftklinge") and not SBp("Serenstum") and checkForItemCooldown("Serenstum")>.2 and CcS("Verteidigungsnetz")<.2 and MgP(.35) then CastSpellByName("Verteidigungsnetz")
- elseif SDp("Blitzschlag") and EquipCD(1)<.2 then UseEquipmentItem(1)
- elseif SDp("Bewegungseinschränkung") and EquipCD(1)<.2 then UseEquipmentItem(1)
- elseif SDp("Schattengefängnis") and EquipCD(1)<.2 then UseEquipmentItem(1)
- elseif SDp("Ansturm - Effekt") and EquipCD(1)<.2 then UseEquipmentItem(1)
- elseif SDp("Saces' Verachtung") and EquipCD(13)<.2 then UseEquipmentItem(13)
- elseif SDp("Schattengefängnis") and CcS("Verteidigungsnetz")<.2 and MgP(.35) then CastSpellByName("Verteidigungsnetz")
- elseif SDp("Blitzschlag") and CcS("Verteidigungsnetz")<.2 and MgP(.35) then CastSpellByName("Verteidigungsnetz")
- elseif SDp("Bewegungseinschränkung") and CcS("Verteidigungsnetz")<.2 and MgP(.35) then CastSpellByName("Verteidigungsnetz")
- elseif SDp("Ansturm - Effekt") and CcS("Verteidigungsnetz")<.2 and MgP(.35) then CastSpellByName("Verteidigungsnetz")
- elseif SBp("Spuren der Leere") and not SBp("Saces' Ansporn") then cPB("Spuren der Leere")
- elseif combat and SBp("Spuren der Leere") then cPB("Spuren der Leere")
- elseif not SBp("Gedankenrune") and CcS("Gedankenrune")<.2 and MgP(.15) then CastSpellByName("Gedankenrune")
- elseif not SBp("Saces' Zorn") and SgP(.10) and CcS("Saces' Zorn")<.2 then CastSpellByName("Saces' Zorn")
- elseif not SBt("Serenstum") and PsiPoints>=2 and CcS("Abgetrenntes Bewusstsein")<.2 and SBp("Willenskraftklinge") and SBp("Saces' Ansporn") then CastSpellByName("Abgetrenntes Bewusstsein")
- elseif not SBt("Serenstum") and not combat and CcS("Verdrehte Ladung")<.2 and MgP(.30) then CastSpellByName("Verdrehte Ladung")
- elseif combat and CcS("Zornesveredelung")<.2 and CcS("Willenskraftklinge")<.2 and SgP(.99) then CastSpellByName("Zornesveredelung")
- elseif PsiPoints>=6 and CcS("Willenskraftklinge")<.2 then CastSpellByName("Willenskraftklinge")
- elseif PsiPoints>=2 and CcS("Saces' Ansporn")<.2 and SBp("Willenskraftklinge") and not SBp("Saces' Ansporn") then CastSpellByName("Saces' Ansporn")
- elseif not SBt("Serenstum") and PsiPoints>=2 and CcS("Abgetrenntes Bewusstsein")<.2 and SBp("Willenskraftklinge") then CastSpellByName("Abgetrenntes Bewusstsein")
- elseif not SBt("Serenstum") and CcS("Herzsammelhieb")<.2 and not MgP(.40) then CastSpellByName("Herzsammelhieb")
- elseif not SBt("Serenstum") and CcS("Herzsammelhieb")<.2 and SDt("Geschwächt") then CastSpellByName("Herzsammelhieb")
- elseif not SBt("Serenstum") and CcS("Verdrehte Ladung")<.2 and MgP(.30) then CastSpellByName("Verdrehte Ladung")
- elseif not SBt("Serenstum") and CcS("Seelentrauma")<.2 and MgP(.25) then CastSpellByName("Seelentrauma")
- elseif not SBt("Serenstum") and CcS("Woge der Boshaftigkeit")<.2 and MgP(.20) then CastSpellByName("Woge der Boshaftigkeit")
- elseif not SBt("Serenstum") and CcS("Schwächender Webefluch")<.2 and MgP(.20) then CastSpellByName("Schwächender Webefluch")
- elseif not SBt("Serenstum") and CcS("Herzsammelhieb")<.2 then CastSpellByName("Herzsammelhieb")
- elseif not SBt("Serenstum") and CcS("Verwirrendes Rätsel")<.2 and MgP(.20) then CastSpellByName("Verwirrendes Rätsel")
- elseif not SBt("Serenstum") and CcS("Psychische Pfeile")<.2 and MgP(.20) then CastSpellByName("Psychische Pfeile")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement