Skip to content
Snippets Groups Projects
Commit c23b125f authored by DarkGod's avatar DarkGod
Browse files

I feel dirty

parent da0307e8
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ newTalent{
return 50 * self:getTalentLevelRaw(t) + self.max_life * self:combatTalentLimit(t, 1, .01, .05)
end,
activate = function(self, t)
if self.player and not self:hasQuest("lichform") and not self:attr("undead") then
if self.player and not self:attr("no_lichform_quest") and 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!")
......
......@@ -269,6 +269,7 @@ uberTalent{
uberTalent{
name = "Worldly Knowledge",
mode = "passive",
cant_steal = true,
on_learn = function(self, t, kind)
local Chat = require "engine.Chat"
local chat = Chat.new("worldly-knowledge", {name="Worldly Knowledge"}, self)
......@@ -299,6 +300,7 @@ uberTalent{
uberTalent{
name = "Tricks of the Trade",
mode = "passive",
cant_steal = true,
require = { special={desc="Have sided with the Assassin Lord", fct=function(self) return game.state.birth.ignore_prodigies_special_reqs or (self:isQuestStatus("lost-merchant", engine.Quest.COMPLETED, "evil")) end} },
on_learn = function(self, t)
if self:knowTalentType("cunning/stealth") then
......
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