Code: Select all
| canny.mac
| Version 1.1
| Written by Soultrapper
| Some code sniplets borrowed from GenBot [LordGiddion]
| Edited 05/13/04 - removed the timers, thanks to Skye and Chill for suggestions
| Spell names for sHoTSpell and sCanniSpell may have to be changed depending on the level of the shaman
#include spellcast.inc
sub Main
/declare CanniSpell string outer "Cannibalize IV"
/declare sHoTSpell string outer "Quiescence"
:MainLoop
/if (${Me.PctHPs}<=70 && !${Me.Buff[${sHoTSpell}].Duration}) {
| /echo "Casting ${sHoTSpell}"
/target myself
/call Cast ${sHoTSpell}
}
/if (${Me.PctMana}>98) {
/echo "mana good, exiting"
/return
}
/call CheckCann
/goto :MainLoop
/return
Sub CheckCann
/if (!${Me.Moving}) {
/if (${Me.AltAbilityReady["Cannibalization"]} && ${Me.PctMana}<75 && ${Me.CurrentHPs}>2900) {
:cani5
| /echo "AA Cani 5"
/call cast ${AltAbility["Cannibalization"].ID} activate
/return 5
} else {
/if (${Me.PctMana}<=98) {
/if (${Me.PctHPs}>=40) {
:cani4
| /echo "Casting ${CanniSpell}"
/call Cast ${CanniSpell}
/return 4
}
}
}
}
/return



