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

yes

parent d5543d52
No related branches found
No related tags found
No related merge requests found
......@@ -738,6 +738,16 @@ function _M:canLearnTalent(t, offset, ignore_special)
return nil, req.special.desc
end
end
if req.special2 and not ignore_special then
if not req.special2.fct(self, t, offset) then
return nil, req.special2.desc
end
end
if req.special3 and not ignore_special then
if not req.special3.fct(self, t, offset) then
return nil, req.special3.desc
end
end
if req.talent then
for _, tid in ipairs(req.talent) do
if type(tid) == "table" then
......@@ -810,6 +820,14 @@ function _M:getTalentReqDesc(t_id, levmod)
local c = (req.special.fct(self, t, offset)) and {"color", 0x00,0xff,0x00} or {"color", 0xff,0x00,0x00}
str:add(c, ("- %s"):format(req.special.desc), true)
end
if req.special2 then
local c = (req.special2.fct(self, t, offset)) and {"color", 0x00,0xff,0x00} or {"color", 0xff,0x00,0x00}
str:add(c, ("- %s"):format(req.special2.desc), true)
end
if req.special3 then
local c = (req.special3.fct(self, t, offset)) and {"color", 0x00,0xff,0x00} or {"color", 0xff,0x00,0x00}
str:add(c, ("- %s"):format(req.special3.desc), true)
end
if req.talent then
for _, tid in ipairs(req.talent) do
if type(tid) == "table" then
......
......@@ -78,6 +78,7 @@ newBirthDescriptor{
descriptor_choices = default_eyal_descriptors{},
game_state = {
campaign_name = "maj-eyal",
supports_lich_transform = true,
stores_restock_by_level = 1,
__allow_rod_recall = true,
__allow_transmo_chest = true,
......
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