• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

Question - Heal Interruption

Venun

New member
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.
 
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:
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