• 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

Problem - consumable buffs

Hondorian

Active member
Joined
Dec 20, 2022
RedCents
305¢
Wrong forum
Buffs5=Command:/useitem Distillate of Clarity IV|Dual|Elixir of Clarity IV|Self

This line of code just constantly recasts itself every 10 seconds. Anyone know a way to only have this recast when it fades?
I'm sure im missing something simple.
or
Could i increase this to balance? CheckBuffsTimer=10
Thanks gang.
kissassist ini.
 
I think it's firing each time because of Command:/useitem, I don't think you can use it with a |dual| like that, try it without the Command:/useitem

Buffs5=Distillate of Clarity IV|Dual|Elixir of Clarity IV|Self
 
Buffs5=Command:/useitem Distillate of Clarity IV|Dual|Elixir of Clarity IV|Self

This line of code just constantly recasts itself every 10 seconds. Anyone know a way to only have this recast when it fades?
I'm sure im missing something simple.
or
Could i increase this to balance? CheckBuffsTimer=10
Thanks gang.
kissassist ini.
I think another way to do it would be to just used a condtion, like this:

Buffs5=command:/useitem Distillate of Clarity IV|Cond1

then in the condition section do

Cond1=!${Me.Buff[Elixir of Clarity IV].ID}

Then it should only use the item if you are missing that buff.
 
I think another way to do it would be to just used a condtion, like this:

Buffs5=command:/useitem Distillate of Clarity IV|Cond1

then in the condition section do

Cond1=!${Me.Buff[Elixir of Clarity IV].ID}

Then it should only use the item if you are missing that buff.
That's how the buff section is supposed to work, they only cast if they are missing, the DUAL function is for when the casted buff (or item) has a different name than the resulting buff. Your way might work, but that then becomes two lines you have to keep up with the changes when upgrading the buff/spell/item etc.
 
That's how the buff section is supposed to work, they only cast if they are missing, the DUAL function is for when the casted buff (or item) has a different name than the resulting buff. Your way might work, but that then becomes two lines you have to keep up with the changes when upgrading the buff/spell/item etc.
I needed to learn conditions anyhow so this was a great lesson thank you for responding!
 
That's how the buff section is supposed to work, they only cast if they are missing, the DUAL function is for when the casted buff (or item) has a different name than the resulting buff. Your way might work, but that then becomes two lines you have to keep up with the changes when upgrading the buff/spell/item etc.
Haha, I wasn't even thinking, but yeah that's true. When I started using MQ I found conditions before I found dual, so I think it tends to stick as the first thing I think about.
 
Problem - consumable buffs

Users who are viewing this thread

Back
Top
Cart