Me.PetBuff[#].Duration not reporting remaining duration

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

User avatar
KungFuHamster
a snow griffon
a snow griffon
Posts: 337
Joined: Wed Oct 02, 2002 7:47 am

Me.PetBuff[#].Duration not reporting remaining duration

Post by KungFuHamster » Tue Feb 16, 2010 3:42 pm

Code: Select all

${Me.PetBuff[${Me.PetBuff[Levitation]}].Duration}
...does not report the remainder of the duration of the spell; it merely echoes the full duration of the spell.
Last edited by KungFuHamster on Thu Feb 18, 2010 7:00 pm, edited 1 time in total.
<dont_know_at_all> do what KungFuHamster said

nytemyst
a grimling bloodguard
a grimling bloodguard
Posts: 578
Joined: Mon Oct 25, 2004 2:29 pm
Location: florida

Post by nytemyst » Tue Feb 16, 2010 3:52 pm

Code: Select all

${Me.PetBuff[${Me.PetBuff[Levitation]}].BuffDuration}
Tried that?

User avatar
KungFuHamster
a snow griffon
a snow griffon
Posts: 337
Joined: Wed Oct 02, 2002 7:47 am

Post by KungFuHamster » Tue Feb 16, 2010 4:03 pm

nytemyst wrote:

Code: Select all

${Me.PetBuff[${Me.PetBuff[Levitation]}].BuffDuration}
Tried that?
No such 'spell' member 'BuffDuration'.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Tue Feb 16, 2010 5:28 pm

Type Member Description
spell PetBuff[#] The spell in this PetBuff slot # (1-29)

As designed...

User avatar
KungFuHamster
a snow griffon
a snow griffon
Posts: 337
Joined: Wed Oct 02, 2002 7:47 am

Post by KungFuHamster » Tue Feb 16, 2010 5:40 pm

Per dkaa, this is how to do it, and I tested it and it worked:

Code: Select all

${Spell[${Spell[spell_name].ID}].StacksPet[ticks]}
Where spell_name is the name of the spell and ticks is how far into the future you want to test.

Code: Select all

/target gebober
/cast "Augment Death"
/echo ${Spell[${Spell[Augment Death].ID}].StacksPet[5]}
FALSE
/echo ${Spell[${Spell[Augment Death].ID}].StacksPet[5000]}
TRUE

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Tue Feb 16, 2010 8:58 pm

Note: if you can get the spell ID from the buff, use that. SoE typically adds several versions of the same spell and you have no way to specify that when searching by name...

xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Me.PetBuff[#].Duration not reporting remaining duration

Post by xyilla » Wed Sep 17, 2025 4:47 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Me.PetBuff[#].Duration not reporting remaining duration

Post by xyilla » Wed Sep 17, 2025 4:48 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Me.PetBuff[#].Duration not reporting remaining duration

Post by xyilla » Wed Sep 17, 2025 4:49 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Me.PetBuff[#].Duration not reporting remaining duration

Post by xyilla » Wed Sep 17, 2025 4:50 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Me.PetBuff[#].Duration not reporting remaining duration

Post by xyilla » Wed Sep 17, 2025 4:51 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Me.PetBuff[#].Duration not reporting remaining duration

Post by xyilla » Wed Sep 17, 2025 5:28 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Me.PetBuff[#].Duration not reporting remaining duration

Post by xyilla » Wed Sep 17, 2025 5:30 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Me.PetBuff[#].Duration not reporting remaining duration

Post by xyilla » Wed Sep 17, 2025 5:31 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Me.PetBuff[#].Duration not reporting remaining duration

Post by xyilla » Wed Sep 17, 2025 5:32 pm