Checking if a spell is ready?

Fixxer

Active member
Joined
May 22, 2011
Messages
429
Reaction score
32
Points
28
I'm working on my MQ2Bot cleric setup, and I can't seem to figure out how to control which heals he casts and when.

For example, I would like to set up Merciful Remedy to cast only when Merciful Light isn't ready (or while other heals are on their cooldown)…

If that can be done, I would also like some cleric advice on which heals to use and when, as I am having serious problems keeping tanks alive against lvl113-114 mobs, even when they are max AA and T2 equipped.
 
To see if a spell is ready:

Code:
/echo ${Cast.Ready[EXACT SPELL NAME]}

I have been using a CLR + SHM to help ease the healing in TBL. The SHM job is to keep a group heal over time running, help with spot heals, and group heals, as well as doing epic, melee lions, etc.

Here is a list of the cleric spells I have setup in order

Single Target

Spell1_Name=Merciful Remedy
Spell2_Name=Spiritual Remedy
Spell3_Name=Graceful Remedy
Spell4_Name=Merciful Intervention
Spell5_Name=Mystical Intervention

Group

Spell1_Name=Word of Greater Reformation
Spell2_Name=Syllable of Convalescence
Spell3_Name=Dissident Blessing
Spell4_Name=Beacon of Life
Spell5_Name=Celestial Regeneration
 
To see if a spell is ready:

Code:
/echo ${Cast.Ready[EXACT SPELL NAME]}

I have been using a CLR + SHM to help ease the healing in TBL. The SHM job is to keep a group heal over time running, help with spot heals, and group heals, as well as doing epic, melee lions, etc.

Here is a list of the cleric spells I have setup in order

Single Target

Spell1_Name=Merciful Remedy
Spell2_Name=Spiritual Remedy
Spell3_Name=Graceful Remedy
Spell4_Name=Merciful Intervention
Spell5_Name=Mystical Intervention

Group

Spell1_Name=Word of Greater Reformation
Spell2_Name=Syllable of Convalescence
Spell3_Name=Dissident Blessing
Spell4_Name=Beacon of Life
Spell5_Name=Celestial Regeneration

What qualifiers do you have to make each spell fire at the right times? Beacon of Life is an AA ability which is HEALIF1... Are you using something other than MQ2Bot?

If you see something below that doesn't look good, let me know? I welcome critique, or suggestions on how to change the order in which they are memorized to work with MQ2Bot.

Also, does MQ2Bot support the proper use of the Cleric Epic? It's basically a 2nd Divine Arbitration...

Code:
|||||||||| HEALIF0 - DIVINE ARBITRATION ||||||||||
|HealIf0=
|||||||||| HEALIF1 - BURST OF LIFE ||||||||||
HealIf1=${Me.CombatState.Equal[COMBAT]}
|||||||||| HEALIF2 - BEACON OF LIFE ||||||||||
|HealIf2=
|||||||||| HEALIF3 - FOCUSED CELESTIAL REGENERATION ||||||||||
HealIf3=!${Me.Song[Elixir of Expiation].ID} && !${Me.Song[Celestial Regeneration].ID}
|||||||||| HEALIF4 - CELESTIAL REGENERATION ||||||||||
HealIf4=!${Me.Song[Elixir of Expiation].ID} && (!${Me.Song[Focused Celestial Regeneration].ID}||${Group.MinHP.ID}!=${Me.ID})
|||||||||| HEALIF5 - EQUISITE BENEDICTION ||||||||||
HealIf5=${Bot.Adds[1].Named}
|||||||||| HEALIF6 - ELIXIR OF WULTHAN ||||||||||
HealIf6=(!${Me.Song[Elixir of Wulthan].ID} && ${Bot.HPLessThan[85]}>1 && ${Target.PctHPs}>75)
|||||||||| HEALIF7 - WORD OF GREATER RESTORATION RK. II ||||||||||
HealIf7=${Bot.HPLessThan[80]}>1
|||||||||| HEALIF8 - PROMISED REMEDY ||||||||||
HealIf8=(${Select[${Bot.MinHP.Class.ShortName},WAR,SHD,PAL]} && !${Me.Buff[Promised Remedy].ID} && ${Spell[Promised Remedy].Stacks[5]})
|||||||||| HEALIF9 - SIXTEENTH SERENITY ||||||||||
HealIf9=(${Select[${Bot.MinHP.Class.ShortName},WAR,SHD,PAL]})
|||||||||| HEALIF10 - MERCIFUL REMEDY ||||||||||
HealIf10=(!${Select[${Bot.MinHP.Class.ShortName},WAR,SHD,PAL]} || ${Target.PctHPs}<60)
|||||||||| HEALIF11 - MERCIFUL LIGHT RK. II ||||||||||
HealIf11=(${Select[${Bot.MinHP.Class.ShortName},WAR,SHD,PAL]} && ${Target.PctHPs}<90)
|||||||||| HEALIF12 - MERCIFUL CONTRAVENTION ||||||||||
|HealIf12=
|||||||||| HEALIF13 - MERCIFUL INTERVENTION ||||||||||
|HealIf13=
|||||||||||||||||||| PET HEALS ||||||||||||||||||||
|||||||||| HEALPETIF0 - ELIXIR OF WULTHAN ||||||||||
HealPetIf0=(!${Me.Song[Elixir of Wulthan].ID} && ${Bot.HPLessThan[95]}>1)
|||||||||| HEALPETIF1 - WORD OF GREATER RESTORATION RK. II ||||||||||
HealPetIf1=${Bot.HPLessThan[80]}>1
|||||||||| HEALPETIF2 - PROMISED REMEDY ||||||||||
HealPetIf2=(!${Me.Buff[Promised Remedy].ID} && ${Spell[Promised Remedy].Stacks[5]})
|||||||||| HEALPETIF3 - SIXTEENTH SERENITY ||||||||||
HealPetIf3=(${Select[${Bot.MinHP.Class.ShortName},WAR,SHD,PAL]})
|||||||||| HEALPETIF4 - MERCIFUL REMEDY ||||||||||
HealPetIf4=!${Select[${Bot.MinHP.Class.ShortName},WAR,SHD,PAL]}
|||||||||| HEALPETIF5 - MERCIFUL LIGHT RK. II ||||||||||
HealPetIf5=(${Select[${Bot.MinHP.Class.ShortName},WAR,SHD,PAL]} && ${Target.PctHPs}<85)
|||||||||| HEALPETIF6 - MERCIFUL CONTRAVENTION RK. II ||||||||||
|HealPetIf6=
|||||||||| HEALPETIF7 - MERCIFUL INTRAVENTION ||||||||||
|HealPetIf7=
 
The stuff I use is custom code but algorithm is fairly simple:

1. Check group members for hp < threshold . if there are 2x then look to see if any of the group spells are ready. Cast first one in list it finds that is ready.

2. Check group members for hp < threshold, again pick first spell that is ready.

3. Check XT ... same as #2

4. Check Netbots ... same as #2
 
Dewey

I would love to see your shaman ini for bot and mq2melee.

Thanks!