Code: Select all
local statusRuins = who:hasQuest("campaign-hammer+demon-ruins") and who:hasQuest("campaign-hammer+demon-ruins"):isCompleted()
if self:isCompleted("last-hope") then
desc[#desc+1] = _t"#LIGHT_GREEN#* The Allied Kingdom leadership is destroyed. Victory is certain.#WHITE#"
desc[#desc+1] = _t"You have won the game!"
elseif not statusRuins then
desc[#desc+1] = _t"#SLATE#* You must gather your strength before dealing with Last Hope.#WHITE#"
else
desc[#desc+1] = _t"#SLATE#* You must join the attack on Last Hope and kill King Tolak!#WHITE#"
end