Skip to content
Snippets Groups Projects
Commit 75c9bd8c authored by dg's avatar dg
Browse files

Lichform quest is granted when first activating the talent Blurred Mortality

git-svn-id: http://svn.net-core.org/repos/t-engine4@6008 51575b47-30f0-44d4-a5cc-537603b46e54
parent a8ca92f9
No related branches found
No related tags found
No related merge requests found
......@@ -258,9 +258,5 @@ newBirthDescriptor{
},
copy_add = {
life_rating = -3,
resolvers.generic(function(self)
self:grantQuest("lichform")
if game.state.birth.campaign_name ~= "maj-eyal" then self:setQuestStatus("lichform", engine.Quest.DONE) end
end),
},
}
......@@ -27,6 +27,12 @@ newTalent{
cooldown = 30,
tactical = { BUFF = 2 },
activate = function(self, t)
if not self:hasQuest("lichform") and not self:attr("undead") then
self:grantQuest("lichform")
if game.state.birth.campaign_name ~= "maj-eyal" then self:setQuestStatus("lichform", engine.Quest.DONE) end
require("engine.ui.Dialog"):simplePopup("Lichform", "You have mastered the lesser arts of overcoming death, but your true goal is before you: the true immortality of Lichform!")
end
local ret = {
die_at = self:addTemporaryValue("die_at", -50 * self:getTalentLevelRaw(t)),
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment