Skip to content
Snippets Groups Projects
Commit e3d0c4fc authored by Chris Davidson's avatar Chris Davidson
Browse files

Update Worldly Knowledge to only include most of the currently available escort/quest trees

Leaving Light available and such is not a good idea. As this was basically only used to get Light on some builds a token buff of 5 generic points is included, but this prodigy could probably use more love eventually.

Also, this should restructured so that addons and campaigns can easily modify the available talent trees.
parent 5c02fa89
No related branches found
No related tags found
No related merge requests found
......@@ -21,21 +21,24 @@ local reward = {
all = {
["technique/conditioning"] = true,
["cunning/survival"] = true,
["wild-gift/harmony"] = true,
},
normal = {
["spell/divination"] = true,
["spell/staff-combat"] = true,
["spell/stone-alchemy"] = true,
["celestial/chants"] = true,
["celestial/light"] = true,
["chronomancy/chronomancy"] = true,
["corruption/curses"] = true,
["corruption/vile-life"] = true,
["corruption/hexes"] = true,
},
antimagic = {
["wild-gift/call"] = true,
["wild-gift/mindstar-mastery"] = true,
["technique/mobility"] = true,
["technique/field-control"] = true,
["psionic/dreaming"] = true,
["psionic/augmented-mobility"] = true,
["psionic/feedback"] = true,
},
}
local function generate_rewards()
......@@ -47,10 +50,10 @@ local function generate_rewards()
local tt_def = game.player:getTalentTypeFrom(tt)
local cat = tt_def.type:gsub("/.*", "")
local doit = function(npc, player)
if player:knowTalentType(tt) == nil then player:setTalentTypeMastery(tt, 0.9) end
if player:knowTalentType(tt) == nil then player:setTalentTypeMastery(tt, 1.0) end
player:learnTalentType(tt, true)
end
answers[#answers+1] = {("[%s (at mastery %0.2f)]"):format(cat:capitalize().." / "..tt_def.name:capitalize(), 0.9),
answers[#answers+1] = {("[%s (at mastery %0.2f)]"):format(cat:capitalize().." / "..tt_def.name:capitalize(), 1.0),
action=doit,
on_select=function(npc, player)
game.tooltip_x, game.tooltip_y = 1, 1
......
......@@ -438,23 +438,29 @@ uberTalent{
local chat = Chat.new("worldly-knowledge", {name="Worldly Knowledge"}, self)
chat:invoke()
end,
passives = function(self, t, tmptable)
self:talentTemporaryValue(tmptable, "unused_generics", 5)
end,
info = function(self, t)
return ([[Learn a new talent category from one of the below at 0.9 mastery, unlocked. Group 1 categories are available to anyone; Group 2 are available only to people without any spells or runes, and Group 3 are not available to followers of Zigur.
return ([[Gain 5 generic talent points and learn a new talent category from one of the below at 1.0 mastery, unlocked. Group 1 categories are available to anyone; Group 2 are available only to people without any spells or runes, and Group 3 are not available to followers of Zigur.
GROUP 1:
- Technique / Conditioning
- Cunning / Survival
- Wild Gift / Harmony
GROUP 2:
- Technique / Mobility
- Technique / Field Control
- Wild Gift / Call of the Wild
- Wild Gift / Mindstar Mastery
- Psionic / Dreaming
- Psionic / Augmented Mobility
- Psionic / Feedback
GROUP 3:
- Spell / Divination
- Spell / Staff Combat
- Spell / Stone Alchemy
- Corruption / Vile Life
- Corruption / Hexes
- Corruption / Curses
- Celestial / Chants
- Celestial / Light
- Chronomancy / Chronomancy]])
:format()
end,
......
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