Quest description not updated correctly if you kill Ukruk
Posted: Sat Sep 04, 2021 9:14 am
If you win the encounter with Ukruk, the quest description isn't updated correctly to tell you that you need to go to Last Hope. Looking at the code, the error appears to be here:
(from data/quests/staff-absorption.lua). The intent is that the fourth block gets executed if you've beat Ukruk, but in fact the first one will be so it never gets to the fourth.
Code: Select all
if self:isCompleted("ambush") and not self:isCompleted("ambush-died") then
desc[#desc+1] = _t"On your way out of the Dreadfell you were ambushed by a band of orcs."
desc[#desc+1] = _t"They asked about the staff."
elseif self:isCompleted("ambush-died") and not self:isCompleted("survived-ukruk") then
desc[#desc+1] = _t"On your way out of the Dreadfell you were ambushed by a band of orcs and left for dead."
desc[#desc+1] = _t"They asked about the staff and stole it from you."
desc[#desc+1] = _t"#LIGHT_GREEN#Go at once to Last Hope to report those events!"
elseif not self:isCompleted("ambush-died") and self:isCompleted("survived-ukruk") then
desc[#desc+1] = _t"On your way out of the Dreadfell you were ambushed by a band of orcs."
desc[#desc+1] = _t"They asked about the staff and stole it from you."
desc[#desc+1] = _t"You told them nothing and vanquished them."
desc[#desc+1] = _t"#LIGHT_GREEN#Go at once to Last Hope to report those events!"
else
desc[#desc+1] = _t"In its remains, you found a strange staff. It radiates power and danger and you dare not use it yourself."
desc[#desc+1] = _t"You should bring it to the elders of Last Hope in the southeast."
end