Plater Nameplates

Plater Nameplates

64M Downloads

Wrong self count in the function Plater.IsQuestObjective

juntereiner opened this issue ยท 3 comments

commented

Game and Plater version
Retail and last version.

Describe the bug

I use this plugin to show quest objectives numbers in nameplates: https://wago.io/PMdq2Rg_N . It uses the function Plater.IsQuestObjective which parse every lines of the tooltip to find numbers. Except it is always the number of the last member of the group, not yours. So it works when you are solo, but not in a group.

In plater.lua, around 9330, the line questData.amount = amount1 should be inside the condition if yourQuest ~= false then for this to work.

commented

The proposed change would fully remove quest completion data from other players, which is not intended.
I will have a look at it though, as tracking individual or necessary group progress should be a thing.
questData.ownAmount or questData.groupAmount will be a thing in addition to the existing values.

commented

You could try with the latest alpha version: Plater-v536.1-7-g958de7d

commented

It works great, thank you.