Sidoine / Ovale

An add-on for World of Warcraft that displays icons based on scripts
MIT License
46 stars 46 forks source link

any=1 not working #801

Open Foxyvixen opened 3 years ago

Foxyvixen commented 3 years ago

The any=1 function does not seems to be working and so debuffexpires(burst_haste_debuff any=1) is also not working.

The error says: Type error: unknown any parameter in....

I am also trying to check when other players are giving me buffs so I believe the any=1 function needs to be working for me to do that.

Sidoine commented 3 years ago

I don't reproduce this bug, what version of Ovale are you using?

Foxyvixen commented 3 years ago

I'm using ovale 9.0.34.

When using BuffPresent(burst_haste_buff any=1) it brings up the error unknown any parameter in... When using debuffexpires(burst_haste_debuff any=1) it brings up error unknown node type function.

Foxyvixen commented 3 years ago

It seems that it isn't the any=1 function anymore.

I added a define to my script to check for windfurry totem buff: Define(windfury_totem_buff 327942) SpellInfo(windfury_totem_buff duration=120 gcd=0 offgcd=1)

And added into my script buffexpires(windfury_totem_buff any=1) and it seems to be working ok.

Maybe it is the combination of the any function with the buff and debuff checks you have in data.lua that is not working? Like burst_haste_buff or burst_haste_debuff or spell_power_multiplier_buff?

Or actually it seems that any=1 is working with buffexpires and debuffexpires but not working with buffpresent or debuffpresent