Puffda wrote:Thx Noren that actually helped out a lot. One question though.
How and where would I put something in there to get the necro to assist the tank, send pet and then start the dot and LT rotation?
Code: Select all
Sub Main
/bct Necro //tar ID ${Target.ID}
/bct Healer //tar ID ${Me.ID}
/bct Healer //mac healer.mac
/bca //pet hold
/delay 3
/bca //pet attack
/bct Necro //mac necro.mac
/end
aabamzen wrote:You might want to consider adding one thing to your end case - a check to see if the target is a corpse. I have had some instances where my chars were still stuck trying to kill a corpse. Not sure if it is an emu bug or what, but sometimes when things die the corpse will stay targeted. Of course a /bca //target clear fixes it, but what's the fun in that?
Code: Select all
Sub Get_Target
/if (${Me.Feigning}) /return
/if (${Me.Casting.ID}) /return
/if (${Me.Moving}) /return
:Acquire_Target
|* If the MA is within a 100 radius then go ahead and assist, and slow if his target is a mob <100% hp.
/if (${Spawn[${MA} radius 100].ID}) {
/squelch /target clear
/assist ${MA}
/delay 1s ${Target.ID}
/if (!${Target.ID} || !${Target.Type.Equal[NPC]}) {
/delay 3s
/return
}
/if ((${Spawn[${Target.ID}].Type.Equal[npc]} || ( ${Spawn[${Target.ID}].Type.Equal[pet]} && !${Spawn[${Target.ID}].Master.Type.Equal[pc]}))) {
/if (${MyTargetID} != ${Target.ID}) {
/echo New Target: ${Target.Level} ${Target.Class} ${Target.CleanName} ${Target.ID}
/varset MyTargetID ${Target.ID}
/delay 5s ${Target.Distance} <= 90
/if (${Raged}) /return
/if (${Target.Distance}<=100 && ${Target.PctHPs}<=98) /pet attack
/delay 2s
/if (${Target.Distance}<=100 && ${Target.PctHPs}<=98) /pet attack
}
}
}
/if (${Target.ID} && ${Target.Type.Equal[NPC]} && ${Target.ID}!=${MyTargetID}) {
/varset TarID ${Target.ID}
/call ClearTarget
}
/return
Code: Select all
:Main_Loop
/doevents
/call Canni2
/call Lich
/doevents
/call Canni1
/call Canni2
/call Pet21
/doevents
/if (${Target.Type.Equal[NPC]}) {
/echo New Target: ${Target.Level} ${Target.Class} ${Target.CleanName} ${Target.ID}
/goto :Combat_Loop
}
/goto :Main_Loop
:Combat_Loop
/doevents
/call Pet21
/call Canni1
/call Debuff
/call Lifetap
/call Lifetap2
/doevents
/call DSKNeck
/call Dot
/call Dot1
/call Dot2
/call Dot4
/call Dot3
/call Nuke
/call AA1
/call AA2
/call AA3
/call AA4
/if (!${Target.Type.Equal[NPC]}) /goto :Main_Loop
/goto :Combat_Loop
Return to “Third party software”
Users browsing this forum: No registered users and 1 guest