• 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 - Help on Conditions

DanteAlgier

Member
Joined
Nov 22, 2017
RedCents
50¢
Heya All,

I have been trying with limited success to make 2 different conditions for trying to do the Kael group mission.

First condition is to only dps anything that is not named.

Second Condition is to be added to dps area where it will only attack a named when the named is at 59% health or less.

So I envision the DPS section something like:

[DPS]
DPSOn=2
DPSSize=26
DPSSkip=0
DPSInterval=0
DPS1=command:/pet swarm|99|Cond1
DPS2=command:/pet swarm|99|Cond2
DPS3=Spear of Molten Arcronite|98|cond1
DPS4=Spear of Molten Arcronite|98|cond2

[KConditions]

ConOn=1
CondSize=14

Cond1=!${Target.Named} ç===From what I understand the “!” before “${Target.Named}” means NOT target named


Cond2=${Target.Named} && ${Target.PctHPs} > 59 ç====From what I understand the first part of “${Target.Named}” will do a named and the “&&” add and so both parts of the condition must be met and “${Target.PctHPs} > 59” should mean the target must be under 59% health, so only a named under 59% health will be attacked/nuked.

I would appreciate any guidance as to the conditionals
 
Heya All,

I have been trying with limited success to make 2 different conditions for trying to do the Kael group mission.

First condition is to only dps anything that is not named.

Second Condition is to be added to dps area where it will only attack a named when the named is at 59% health or less.

So I envision the DPS section something like:

[DPS]
DPSOn=2
DPSSize=26
DPSSkip=0
DPSInterval=0
DPS1=command:/pet swarm|99|Cond1
DPS2=command:/pet swarm|99|Cond2
DPS3=Spear of Molten Arcronite|98|cond1
DPS4=Spear of Molten Arcronite|98|cond2

[KConditions]

ConOn=1
CondSize=14

Cond1=!${Target.Named} ç===From what I understand the “!” before “${Target.Named}” means NOT target named


Cond2=${Target.Named} && ${Target.PctHPs} > 59 ç====From what I understand the first part of “${Target.Named}” will do a named and the “&&” add and so both parts of the condition must be met and “${Target.PctHPs} > 59” should mean the target must be under 59% health, so only a named under 59% health will be attacked/nuked.

I would appreciate any guidance as to the conditionals
howdy @DanteAlgier,
you could actually accomplish this with 1 condition using an or "||"

Cond1=!${Target.Named} || (${Target.Named} && ${Target.PctHPs} < 59)
if you intended on having the target under 59 health you need the less than symbol "<"
I added the parentheses to the second part after the OR just for clarify on seperating them into those sections

Here is the thing about your pet swarm command - as is written you are going to be spamming that over and over, consider a once check or a different condition --- for a regular pet I would check that it was fighting something with a ${Me.Pet.Combat} or ${Me.PetCombat} - but I'm not sure if there is a TLO for swarm pet (i checked and couldn't find anything quickly)
 
Cond2=${Target.Named} && ${Target.PctHPs} > 59 ç====From what I understand the first part of “${Target.Named}” will do a named and the “&&” add and so both parts of the condition must be met and “${Target.PctHPs} > 59” should mean the target must be under 59% health, so only a named under 59% health will be attacked/nuked.

I would appreciate any guidance as to the conditionals
You got this part reversed. As written here, you're checking that ${Target.PctHPs} is *greater* than 59. You want to use the *less than* sign <
 
Question - Help on Conditions

Users who are viewing this thread

Back
Top
Cart