Page 1 of 4

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

Posted: Tue Feb 16, 2010 3:42 pm
by KungFuHamster

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.

Posted: Tue Feb 16, 2010 3:52 pm
by nytemyst

Code: Select all

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

Posted: Tue Feb 16, 2010 4:03 pm
by KungFuHamster
nytemyst wrote:

Code: Select all

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

Posted: Tue Feb 16, 2010 5:28 pm
by dont_know_at_all
Type Member Description
spell PetBuff[#] The spell in this PetBuff slot # (1-29)

As designed...

Posted: Tue Feb 16, 2010 5:40 pm
by KungFuHamster
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

Posted: Tue Feb 16, 2010 8:58 pm
by dont_know_at_all
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...

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

Posted: Wed Sep 17, 2025 4:47 pm
by xyilla

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

Posted: Wed Sep 17, 2025 4:48 pm
by xyilla

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

Posted: Wed Sep 17, 2025 4:49 pm
by xyilla

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

Posted: Wed Sep 17, 2025 4:50 pm
by xyilla

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

Posted: Wed Sep 17, 2025 4:51 pm
by xyilla

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

Posted: Wed Sep 17, 2025 5:28 pm
by xyilla

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

Posted: Wed Sep 17, 2025 5:30 pm
by xyilla

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

Posted: Wed Sep 17, 2025 5:31 pm
by xyilla

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

Posted: Wed Sep 17, 2025 5:32 pm
by xyilla