Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include Includes/bs2common.inc
- #include Includes/utility.inc
- Sub Main
- /echo =================TESTS STARTED=================
- /makecamp off
- /declare LastTargetId int outer 0
- /declare LastTargetCounter int outer 0
- :Loop
- /if ( ${Me.PctHPs} < 60 ) {
- /doability Mend
- }
- /if ( ${Me.PctHPs} < 25 ) {
- /attack off
- /delay 5
- /doability "Feign Death"
- /warp succor
- /delay 30s
- /stand
- }
- /if ( ${LastTargetId} == ${Target.ID} ) {
- /varcalc LastTargetCounter ${LastTargetCounter}+1
- /varset LastTargetId ${Target.ID}
- } else {
- /varset LastTargetCounter 0
- /varset LastTargetId ${Target.ID}
- }
- /if ( ${LastTargetCounter} > 30) {
- /varset LastTargetCounter 0
- /alert add 1 id ${LastTargetId}
- /squelch /target clear
- /delay 5
- }
- /if ( ${Me.AltAbilityReady[Fundament: Second Spire of the Sensei]} ) /casting "Fundament: Second Spire of the Sensei"
- /if ( ${Me.AltAbilityReady[Infusion of Thunder]} ) /casting "Infusion of Thunder"
- /if ( ${Me.AltAbilityReady[Zan Fi's Whistle]} ) /casting "Zan Fi's Whistle"
- /if ( !${Me.Buff[Twitching Speed].ID} && ${Me.XTarget} <= 0 ) {
- /casting "Lizardscale Plated Girdle"
- /delay 4s
- }
- /if ( ${Target.ID} && !${Target.Type.Equal[NPC]}) /squelch /target clear
- /if ( ${Me.XTarget} > 0 && !${Target.ID} ) {
- /call ClosestXTargetId
- /squelch /target id ${Macro.Return}
- /delay 1s ${Target.ID}
- }
- /if ( !${Target.ID} ) {
- /squelch /target npc range 10 90 noalert 1
- /delay 1s ${Target.ID}
- }
- /if ( ${Target.ID} && ${Target.Distance} > 10 ) {
- /warp t
- /delay 2
- /keypress s hold
- /delay 5 ${Target.Distance} > 2
- /keypress s
- /face fast
- /attack on
- } else /if ( ${Target.ID} ) {
- /attack on
- }
- |/if ( ${SpawnCount[pc]} > 1 ) {
- | /echo Stopping because a player is in zone
- | /endmac
- |}
- /delay 5
- /goto :Loop
- /echo =================TESTS ENDED=================
- /return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement