Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //include Scripts/dim.zr
- //include Scripts/dim4.zr
- F: isTank(obj) = class(obj) == 139 \
- or class(obj) == 148 \
- or class(obj) == 149 \
- or class(obj) == 150 \
- or class(obj) == 151 \
- or class(obj) == 106
- F: TargetCheckA(obj) = (GroupStatus("ForceAttack") \
- or (npc(obj) > 0 \
- or isPK(obj) \
- or isTwoWayWar(obj) \
- or (isFlagged(obj) and not isFriend(obj) and not isMember(obj)) \
- or NonFlagZone)) \
- and not (isCS(obj) or effectTime(obj,$CelestialPartyProtection) or isMedused(obj) or dead(obj) or obj == me)
- F: NonFlagZone = ((zone == 10) or (zone == 11) or (zone == 14) or (zone == 8))
- F: isCS(obj) = effectTime(obj,$CelestialPartyProtection) > 0 \
- or effectTime(obj,$CelestialProtection) > 0 \
- or effectTime(obj,$GiantBarrier) > 0 \
- or effectTime(obj,$UndyingWill) > 0 \
- or effectTime(obj,$UndyingWill2) > 0 \
- or effectTime(obj,$CelestialAegis) > 0 \
- or effectTime(obj,3158) > 0 \
- or effectTime(obj,9453) > 0 \
- or isCelestialed(obj) \
- or isExiled(obj)
- F: isExiled(obj) = effectTime(obj,$Exile) or effectTime(obj,$MassExile)
- F: Dodge(obj) = effectTime(obj,$ShadowDodge)
- @CreatureSay type == 3 and isMember(actor) and text == "ninjamode": Assign("FollowTarget") = name(actor); EnableGroup Skills on; EnableGroup PvE on; EnableGroup Orbis on; EnableGroup nextT on; EnableGroup AA on
- @CreatureSay type == 3 and isMember(actor) and text == "piratemode": Assign("FollowTarget") = name(actor); EnableGroup Skills on; EnableGroup PvE off; EnableGroup Orbis off; EnableGroup nextT off; EnableGroup AA off
- @CreatureSay text == "givepl" and isMember(actor) : Command ("/changepartyleader "..aname)
- @CreatureSay text == "invme" : Command ("/invite "..aname)
- @CreatureSay type == 3 and text == "plme" : Command ("/changepartyleader "..aname)
- F: SkillReady(obj) = not skillCoolTime(obj) and not nowCasting and skillLevel(obj) > 0
- >_F11 not nowcasting and TargetCheckA(target(me)) \
- : if ( SkillReady($CriticalWound) and not Dodge(target(me)) ) { Cast $CriticalWound forced } \
- : if ( SkillReady($BloodStab) and not Dodge(target(me)) ) { Cast $BloodStab forced } \
- >_F7 not nowcasting and TargetCheckA(target(me)) \
- : if ( SkillReady($ShadowChase) and not Dodge(target(me)) ) { Cast $ShadowChase forced } \
- >_F8 not nowcasting and TargetCheckA(target(me)) \
- : if ( SkillReady($HeartBreaker) and not Dodge(target(me)) ) { Cast $HeartBreaker forced } \
- >_F12 not nowcasting and TargetCheckA(target(me)) \
- : if ( SkillReady($ChainBlow) and not Dodge(target(me)) ) { Cast $ChainBlow forced } \
- : if ( SkillReady($Reverse) and not Dodge(target(me)) ) { Cast $Reverse forced }
- //@MagicSkillUser actor ~= me and distance(actor,me) < 300 and (skill == $ShadowHide or skill == $Camouflage) : Cast $RazorRain forced
- @MagicSkillUser victim == me and skill == $HellBinding : Cast $ShadowFakeDeath
- @MagicSkillUser victim == me and skill == $MassHellBinding : Cast $ShadowFakeDeath
- //@MagicSkillUser victim == me and skill == $LightningRoot : Cast $ShadowFakeDeath
- //@MagicSkillUser victim == me and skill == $ShadowFlash : Cast $ShadowFakeDeath
- //@MagicSkillUser victim == me and skill == $CloneAttack : Cast $ShadowFakeDeath
- @MagicSkillUser victim == me and skill == $AngelOfDeath : Cast $ThrowPoisonNeedle
- //@TargetSelected actor == me and not (isFriend(target(me)) or target(me) == me or npc(target(me)) ) and (not isTank(target(me)) and not npc(target(me)) > 0) and zone ~= 12 : ActionUse usetoken2
- ?ForceAttack T(100000000) 1 : nop
- /////////////////////////////////////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////PVP//////////////////////////////////////////////////////////
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
- ///////////////////// Functors///////////////////////////
- F: isDisabled(obj) = (isStunned(obj) \
- or isMedused(obj) \
- or isTranced(obj) \
- or isAnchored(obj) \
- or isAfraid(obj) \
- or (effectTime(obj,$FatalSleep) > 0) \
- or (effectTime(obj,$MassFatalSleep) > 0) \
- or (effectTime(obj,$AerialYoke) > 0) \
- or (effectTime(obj,$Poison22) > 0) \
- or (effectTime(obj,$Sleep17) > 0) \
- or (effectTime(obj,$Paralyze) > 0) \
- or (effectTime(obj,$Exile) > 0) \
- or (effectTime(obj,$MassExile) > 0) \
- or (effectTime(obj,$DarkParalysis) > 0) \
- or (effectTime(obj,$Transform) > 0) \
- or (effectTime(obj,$Petrify) > 0) \
- or (effectTime(obj,$GardenDarkMagic) > 0) \
- or (effectTime(obj,$GardenDarkMagic2) > 0) \
- or (effectTime(obj,$YokeStatus) > 0) \
- or (effectTime(obj,$YokeStatus2) > 0) \
- or (effectTime(obj,$YokeStatus3) > 0) \
- or (effectTime(obj,$YokeStatus4) > 0) \
- or (effectTime(obj,$YokeStatus5) > 0) \
- or (effectTime(obj,$YokeStatus6) > 0) \
- or (effectTime(obj,$YokeStatus7) > 0) \
- or (effectTime(obj,$HeroicDread) > 0) \
- or (effectTime(obj,$Hide) > 0))
- F: AutoTarget1 = Alive(actor) and zone ~= 12 and abs(zdiff) <= 200 and actor ~= me and distance(me,actor) < 900 and (isEnemy(actor) or isTwoWayWar(actor) or isPK(actor)) and not isFriend(actor) and not isMember(actor) and not isMedused and not isCelestialed and not isUD
- L CharFunctor 400 (AutoTarget1 and (class(actor) == 146 or class(actor) == 179 or class(actor) == 180 or class(actor) == 181)) //////////////HEALER
- L CharFunctor 401 (AutoTarget1 and (class(actor) == 143 or class(actor) == 166 or class(actor) == 167 or class(actor) == 168 or class(actor) == 169 or class(actor) == 170)) //////////////WIZARD
- L CharFunctor 402 (AutoTarget1 and (class(actor) == 141 or class(actor) == 158 or class(actor) == 159 or class(actor) == 160 or class(actor) == 161)) //////////////DAGGER
- L CharFunctor 403 (AutoTarget1 and (class(actor) == 142 or class(actor) == 162 or class(actor) == 163 or class(actor) == 164 or class(actor) == 165)) //////////////ARCHER
- L CharFunctor 404 (AutoTarget1 and (class(actor) == 144 or class(actor) == 171 or class(actor) == 172 or class(actor) == 173 or class(actor) == 174 or class(actor) == 175 or class(actor) == 184)) //////////////ENCHANTER
- L CharFunctor 405 (AutoTarget1 and (class(actor) == 140 or class(actor) == 152 or class(actor) == 153 or class(actor) == 154 or class(actor) == 155 or class(actor) == 156 or class(actor) == 157)) //////////////WARRIOR
- L CharFunctor 406 (AutoTarget1 and (class(actor) == 145 or class(actor) == 176 or class(actor) == 177 or class(actor) == 178)) //////////////SUMMONER
- L CharFunctor 420 (php(actor) < 30 and alive(actor) and (zone ~= 12) and abs(zdiff) <= 200 and actor ~= me and distance(me,actor) < 1300 and (isFlagged(actor) or isTwoWayWar(actor) or isEnemy(actor)) and not (isMember(actor) or isFriend(actor)) and not isMedused(actor) and not isCelestialed(actor) and not isUD(actor))
- L CharFunctor 666 (effectTime(actor,$NoblesseBlessing) == 0 and alive(actor) and (zone ~= 12) and abs(zdiff) <= 200 and actor ~= me and distance(me,actor) < 1300 and (isFlagged(actor) or isTwoWayWar(actor) or isEnemy(actor)) and not (isMember(actor) or isFriend(actor)) and not isMedused(actor) and not isCelestialed(actor) and not isUD(actor))
- ?AutoT T(500) charsFind(666) == 0 and charsFind(420) >= 1 : Select(lastFound) safe
- ?AutoT T(500) charsFind(666) >= 1 : Select(lastFound) safe
- S EnableGroup AutoT off
- ?AutoT T(500) charsFind(666) == 0 and charsFind(420) == 0 and charsFind(401) >= 1 : \
- if(alive(me) and not isDisabled(me) and target(me) ~= charsCount(401) and target(me) ~= me) { \
- Select(LastFound) safe \
- }
- ?AutoT T(500) charsFind(666) == 0 and charsFind(420) == 0 and charsFind(401) == 0 and charsFind(403) >= 1 : \
- if(alive(me) and not isDisabled(me) and target(me) ~= charsCount(403)and target(me) ~= me) { \
- Select(LastFound) safe \
- }
- ?AutoT T(500) charsFind(666) == 0 and charsFind(420) == 0 and charsFind(401) == 0 and charsFind(403) == 0 and charsFind(400) >= 1 : \
- if(alive(me) and not isDisabled(me) and target(me) ~= charsCount(400)and target(me) ~= me) { \
- Select(LastFound) safe \
- }
- ?AutoT T(500) charsFind(666) == 0 and charsFind(420) == 0 and charsFind(401) == 0 and charsFind(400) == 0 and charsFind(403) == 0 and charsFind(406) >= 1 : \
- if(alive(me) and not isDisabled(me) and target(me) ~= charsCount(406)and target(me) ~= me) { \
- Select(LastFound) safe \
- }
- ?AutoT T(500) charsFind(666) == 0 and charsFind(420) == 0 and charsFind(400) == 0 and charsFind(401) == 0 and charsFind(406) == 0 and charsFind(403) == 0 and charsFind(402) >= 1 : \
- if(alive(me) and not isDisabled(me) and target(me) ~= charsCount(402)and target(me) ~= me) { \
- Select(LastFound) safe \
- }
- ?AutoT T(500) charsFind(666) == 0 and charsFind(420) == 0 and charsFind(400) == 0 and charsFind(401) == 0 and charsFind(402) == 0 and charsFind(403) == 0 and charsFind(406) == 0 and charsFind(405) >= 1: \
- if(alive(me) and not isDisabled(me) and target(me) ~= charsCount(405)and target(me) ~= me) { \
- Select(LastFound) safe \
- }
- ?AutoT T(500) charsFind(666) == 0 and charsFind(420) == 0 and charsFind(400) == 0 and charsFind(401) == 0 and charsFind(402) == 0 and charsFind(403) == 0 and charsFind(406) == 0 and charsFind(405) ==0 and charsFind(404) >=1 : \
- if(alive(me) and not isDisabled(me) and target(me) ~= charsCount(404)and target(me) ~= me) { \
- Select(LastFound) safe \
- }
- S EnableGroup QHP off
- ?QHP T(550) zone ~= 12 and zone ~= 14 and (pcp(me) <20 or php(me) <60) and effectTime($CelestialProtection) == 0 and effectTime($CelestialPartyProtection) == 0 and effectTime($CrystalRegeneration) == 0 and effectTime($FlamesOfInvincibility) == 0 and effectTime($CrystalForm) == 0 and effectTime($UndyingWill) == 0 and effectTime($CelestialShield) == 0 and effectTime(1505) == 0 and effectTime($TransformSacrifice) == 0 and effectTime($EnchanterAbilityBarrier2) == 0 : UseItem 13750
- V: myMA
- F: DoTarget(obj) = alive(obj) \
- and class(target(id(myMA))) ~= 139 \
- and not (isFriend(obj) or isMember(obj)) \
- and target(id(myMA)) ~= me
- // ALT+M = my target is set as myMA
- >+M myMA = name(target(me)) ; Display 0 ("MA is"..myMA)
- // ALT+A = Assist my MA's target
- //>#A target(me) ~= target(id(myMA)) \
- and alive(me) \
- and DoTarget(target(id(myMA))) : \
- Select(target(id(myMA))) safe
- // Enable AA to auto assist
- ?AA T(500) target(me) ~= target(id(myMA)) \
- and alive(me) \
- and DoTarget(target(id(myMA))) : \
- Select(target(id(myMA))) safe
- @GroupSwitch group == "AA" \
- and newState \
- and id(myMA) : \
- Display 0 ("Auto Assisting "..myMA)
- S EnableGroup("AA") off
- S EnableGroup poison off
- ?Orbis T(2000,250) alive(me) and inFight(me) and pmp(me) > 5 and skillCoolTime($PoisonZone) == 0 and distance(target(me)) < 900 and attackable(target(me)) and not isMedused(target(me)) and not dead(me) and alive(target(me)): CastGround $PoisonZone xpos(target(me)) ypos(target(me)) zpos(target(me))
- S EnableGroup("AA") off
- ?Orbis T(4000) attackable(target(me)) and alive(target(me)) : Cast $ShadowChase
- ?Orbis T(4000) attackable(target(me)) and alive(target(me)) : Cast $CriticalWound
- ?Orbis T(500) attackable(target(me)) and alive(target(me)) : Cast $BloodStab
- ?Orbis T(500) attackable(target(me)) and alive(target(me)) : Cast $Reverse
- ?Orbis T(500) attackable(target(me)) and alive(target(me)) : Cast $HeartBreaker
- ?Orbis T(500) attackable(target(me)) and alive(target(me)) : Cast $ChainBlow
- ?Orbis T(4600) zone ~=12 and effectTime($MortalStrike) == 0 and skillCoolTime($MortalStrike) == 0: Cast $MortalStrike
- ?Orbis T(4600) zone ~=12 and effectTime($CriticalChances) == 0 and skillCoolTime($CriticalChances) == 0: Cast $CriticalChances
- ?Orbis T(18000) attackable(target(me)) and alive(target(me)) : Cast $CloneAttack
- //?nextT T(500, 1000) not dead(me) and ( target(me)==0 or dead(target(me)) ) : Command("/targetnext")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement