Questie

Questie

122M Downloads

[bug] requiredLevel gets set at quest object creation and won't change dynamically as should

Laumesis opened this issue ยท 0 comments

commented

local questLevel, requiredLevel = QuestieLib:GetTbcLevel(questId)
QO.level = questLevel
QO.requiredLevel = requiredLevel

This overwrites QO.requiredLevel set earlier from rawdata[ ].

Most places query the requiredLevel directly from DB, and use it through GetTbcLevel( ) function. These won't bug out.
But there are some places using quest.requiredLevel (and feeding it to GetTbcLevel( )). These will show wrong level after player level changes during playing. /reload corrects this ofc.