• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Heal Interruption

Venun

New member
Joined
Oct 13, 2017
RedCents
10¢
Is it possible to interrupt a heal being cast if the target hp is >certain%?

If it is, could this same thing be applied to Buffing to assist with raid buffing situations where the same buff being cast by one of my bots gets applied to the target by someone else.
 
There used to be some code in MB that did heal interrupts similar to what you are talking about. I found that many times if I let the heal continue, it would land for more since the mobs was still beating on the PC. The constant interrupting was not worth letting the PC die. However, I can take a look again at possibly tweaking it.

By any chance is this related to TLP? I used to interrupt heals much more when I played original EQ to save mana, etc., than I would in current content.
 
Yes sir, TLP. Mana saving is a real concern to make sure the bots are efficient for sure
 
I recall this existing long ago last time I used modbot. I cannot find it or set it up, however we can write conditional to do this , but it would be a pita with a script.
 
I kind of would add onto mana saving as healing in combat it seems once we start a fight on TLP casters wont reset till fight is done. Trying to use scripts isnt bad but for some reason it is not efficient because they do not always sit.
 
modheal.inc has a section for this still:

Code:
|         /if (${Macro.Return.Equal[FALSE]}) /continue
| This is not worth it, IMHO. When tested, many times I would see 100% HPs, but the heal would land for a large amount. So, use the above.
        /if (${Macro.Return.Equal[FALSE]}) {
           /if (${AHtTargetID} && ${AHtTargetID}==${AHbTargetID}) {
              /if (${AHtSpellID} && ${AHtSpellID}==${Me.Casting.ID}) {
                 /if (${Spawn[${AHtTargetID}].PctHPs}>=75 && ${Spell[${Me.Casting.ID}].Duration}==0 && ${Cast.Timing}<=2000 && ${Me.CombatState.Equal[COMBAT]}) {
                    /echo ${If[${TimeStampOnEcho},[${Time}] ,]}interrupt no heal needed
                    /stopcast
                 }
              }
           }
           /continue
        }

I changed it a bit to work better but now I cant get it to interrupt properly. Prior to messing with it, the code was:

INI:
         /if (${Macro.Return.Equal[FALSE]}) /continue
| This is not worth it, IMHO. When tested, many times I would see 100% HPs, but the heal would land for a large amount. So, use the above.
|        /if (${Macro.Return.Equal[FALSE]}) {
|           /if (${AHtTargetID} && ${AHtTargetID}==${AHbTargetID}) {
|              /if (${AHtSpellID} && ${AHtSpellID}==${Me.Casting.ID}) {
|                /if (${Spawn[${AHtTargetID}].PctHPs}>=99 && !${Spell[${Me.Casting.ID}].Duration}) {
|                    /echo ${If[${TimeStampOnEcho},[${Time}] ,]}interrupt no heal needed
|                    /stopcast
|                 }
|              }
|           }
|           /continue
        }

So I dont see anything immediately wrong with my changes (i have mq2cast loaded anyhow so ${Cast.Timing} is available to me). Im not sure if the macro loops back often enough to catch an interrupt or what.
 
Last edited:
Yeah, that was one of the reasons I commented it out. I didn't like how it was working (or not working).
 
Well if I add a return after the stopcast it works decent. But it then tries to recast the same spell and doesnt interrupt the second time. I dont know why.
 
Question - Heal Interruption

Users who are viewing this thread

Back
Top
Cart