Code: Select all
|My Sham Macro!
|By Tangeleno
|Lotsa Help from lordgiddion
#turbo
#Event MemBuff "load buffs"
#Event BuffMe "buff me"
#Event XPspells "load xp"
#Event Haste "haste"
#Event Regen "need regen"
#Event Slow "slow"
Sub Main
/tell "Soandso" Shambot started! here we go!
/afk Send tells to Soandso
:MainLoop
/doevents
/call HealCheck
/call CanniCheck
/goto :MainLoop
/return
Sub Event_MemBuff
/loadspells Buffs
/return
Sub Event_BuffMe
/newif (${Me.State.Equal[STAND]}) {
/goto :Buff
} Else {
/stand
/goto :Buff
}
:Buff
/tell "Soandso" buffing now
/target "Soandso"
/cast "Infusion of Spirit"
/delay 14s
/cast "Dexterity"
/delay 9s
/cast "Stamina"
/delay 9s
/cast "Talisman of Altuna"
/delay 12s
/cast "Agility"
/delay 9s
/cast "Chloroplast"
/delay 10s
/cast "Alacrity"
/delay 8s
/sit
/return
Sub Event_XPspells
/loadspells XPspells
/return
Sub Event_Haste
/newif (${Me.State.Equal[STAND]}) {
/goto :Haste
}Else {
/stand
/goto :Haste
}
:Haste
/target "Soandso"
/delay 5
/cast "Alacrity"
/delay 8s
/sit
/delay 5
/return
Sub Event_Regen
/newif (${Me.State.Equal[STAND]}) {
/goto :Regen
} Else {
/stand
/goto :Regen
}
:Regen
/target "Soandso"
/delay 5
/cast "Chloroplast"
/delay 10s
/sit
/delay 5
/return
Sub Event_Slow
/newif (${Me.State.Equal[STAND]}) {
/goto :Slow
}Else{
/stand
/goto :Slow
}
:Slow
/assist Soandso
/delay 5
/cast "Turgur's Insects"
/delay 8s
/cast "Envenomed Bolt"
/delay 10s
/sit
/delay 5
/return
Sub CanniCheck
/newif (${Me.PctMana}<=90) {
/newif (${Me.PctHPs}>=50) {
/goto :Canni
}
else {
/goto :HOT
}
}
/return
:Canni
/stand
/delay 10
/tell "Soandso" trin to canni
/cast "Cannibalize II"
/delay 19
/sit
/delay 3s
/return
:HOT
/stand
/target "myself"
/cast "Stoicism"
/delay 9s
/sit
/delay 24s
/return
Sub HealCheck
/newif (${Group[1].PctHPs}<70) {
/newif (${Me.State.Equal[STAND]}) {
/goto :Heal
}Else
{
/stand
/goto :Heal
}
}
/return
:Heal
/target Soandso
/tell "Soandso" Heal is comming Soandso!
/cast "Superior Healing"
/delay 5s
/sit
/delay 25
/return


