Hi
I have tried the various assist macs but am not too bright and they appear to do much more than I can deal with.
I want a simplish mac that has my Necro fire off 7 dots when I am in combat on another toon - I want to buff and check mana manually as I need.
I have hashed together some bits from others mainly petesampras and villageidiot but need help - any takers? If so thank you..
I have tried the various assist macs but am not too bright and they appear to do much more than I can deal with.
I want a simplish mac that has my Necro fire off 7 dots when I am in combat on another toon - I want to buff and check mana manually as I need.
I have hashed together some bits from others mainly petesampras and villageidiot but need help - any takers? If so thank you..
Code:
|Very Basic Assist Mac
#event follow "follow me egghead"
#event followend "will you stop now please"
#include spell_routines.inc
#turbo 80
Sub Main
/declare Attack1 string outer Dooming Darkness
/declare Attack2 string outer Boil Blood
/declare Attack3 string outer Dark Soul
/declare Attack4 string outer Chilling Embrace
/declare Attack5 string outer Asystole
/declare Attack6 string outer Ignite Bones
/declare Attack7 string outer Drain Spirit
/declare Feign string outer Feign Death
/declare ReAssist timer outer 10s
/declare NukeAt int outer 90
/declare Stop int outer 25
/call Initialize
/echo Beginning a Copied Macro...
:MainLoop
/call CheckTarget
/call Nuke
/doevents
/goto :MainLoop
/return
Sub Initialize
/if (!${Target.ID} || ${Target.Type.NotEqual[PC]} || ${Target.ID}==${Me.ID}) {
/echo Please target the main tank before running the macro
/end
}
/declare MainTank int outer ${Target.ID}
/declare TarID int outer
/return
Sub CheckTarget
/if ((!${Target.ID} || ${Target.Type.NotEqual[NPC]} || !${ReAssist}) && ${Spawn[id ${MainTank} radius 200].ID}) {
/assist ${Spawn[id ${MainTank}]}
/varset ReAssist ${ReAssist.OriginalValue}
}
/if (${Target.ID} && ${Target.Type.Equal[NPC]} && ${Target.ID}!=${TarID}) {
/varset TarID ${Target.ID}
/varset CBC 0
/varset Snared 0
}
/return
Sub Nuke
/if (${Target.PctHPs}<=${Stop} && ${Target.ID} && ${Target.Type.Equal[NPC]}) /got :mainloop
/if (${Target.PctHPs}<=${NukeAt} && ${Target.ID} && ${Target.Type.Equal[NPC]})
/call cast "${Attack1}"
/call cast "${Attack1}"
/call cast "${Attack2}"
/call cast "${Attack3}"
/call cast "${Attack4}"
/call cast "${Attack5}"
/call cast "${Attack6}"
/call cast "${Attack7}"
/return
Sub follow
:followloop
/doevents
/face fast
/if (${Target.Distance}>60) /keypress up hold
/if (${Target.Distance}<40) /keypress up
/if (${Target.Distance}<40) /goto :loop
/delay 2
/goto :followloop
/return
Sub followend
/goto :Mainloop
/return