Moderator: MacroQuest Developers
Code: Select all
/if (${grouphaste}==1) {
/varset SpellName ${grouphastespell}
/varset wait4cast ${Math.Calc[${Spell[${SpellName}].MyCastTime}+${Spell[${SpellName}].RecastTime}+5].Int}
/if (!${Me.Buff[${hastespell}].ID} || ${Me.Buff[${hastespell}].Duration}<${wait4cast}) /call haste
}
Code: Select all
/if (${grouphaste}==1) {
/varset SpellName ${grouphastespell}
/varset wait4cast ${Math.Calc[${Spell[${SpellName}].MyCastTime}+${Spell[${SpellName}].RecastTime}+5].Int}
/if (!${Me.Buff[${grouphastespell}].ID} || ${Me.Buff[${grouphastespell}].Duration}<${wait4cast}) {
/target ${Me}
/call sitstatus
/call Cast ${SpellName} Gem6 ${wait4cast}s
/if (${sitstatus}==1) /call standstatus
/keypress esc
}
}
Code: Select all
UPDATE August 10, 2004
Put in a "Fix" I think for the GroupHaste not recasting itself. It should work, but it is untested (been slacking on my shaman, havnt leveled him since my last post).
ADDED toggle TrainSpells - its a built in spell trainer. I put this in for myself when I realized I was so lacking on my spell skills. The trainer uses the spells which you would define at the top based on the spells type. I have the lowest level spell of each type already entered at the top. If you have a pet it will cast on the pet, if you dont, it will cast on you. The spell trainer has a built in Player Character Near and GM check (not 100% gm proof, as gm invis is undetectable) If there is a GM in the zone, or a PC within 100feet (whatever EQ uses) then it will have you sit and go afk.
Enjoy
Code: Select all
| Please List the spells which you would like to use with the regular BuffGroup
/declare SmallBuffArray[4] string outer
/varset SmallBuffArray[1] "Harnessing of Spirit"
/varset SmallBuffArray[2] "Talisman of the Brute"
/varset SmallBuffArray[3] "Regrowth of Dar Khura"
/varset SmallBuffArray[4] "Spirit of Bih'Li"
Code: Select all
Sub RegularBuffs
/for g 1 to ${SmallBuffArray.Size}
/varset SpellName ${SmallBuffArray[${g}]}
/next g
/return
Code: Select all
Sub RegularBuffs
/for g 1 to ${SmallBuffArray.Size}
/varset SpellName ${SmallBuffArray[${g}]}
/call Buffs
/next g
/return