Commit e3d0c4fcc0942ca755e1b994e98d07938f6227ba

Authored by Chris Davidson
1 parent 5c02fa89

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.
... ... @@ -21,21 +21,24 @@ local reward = {
21 21 all = {
22 22 ["technique/conditioning"] = true,
23 23 ["cunning/survival"] = true,
  24 + ["wild-gift/harmony"] = true,
24 25 },
25 26 normal = {
26 27 ["spell/divination"] = true,
27 28 ["spell/staff-combat"] = true,
28 29 ["spell/stone-alchemy"] = true,
29 30 ["celestial/chants"] = true,
30   - ["celestial/light"] = true,
31 31 ["chronomancy/chronomancy"] = true,
  32 + ["corruption/curses"] = true,
  33 + ["corruption/vile-life"] = true,
  34 + ["corruption/hexes"] = true,
32 35 },
33 36 antimagic = {
34 37 ["wild-gift/call"] = true,
35 38 ["wild-gift/mindstar-mastery"] = true,
36   - ["technique/mobility"] = true,
37   - ["technique/field-control"] = true,
38 39 ["psionic/dreaming"] = true,
  40 + ["psionic/augmented-mobility"] = true,
  41 + ["psionic/feedback"] = true,
39 42 },
40 43 }
41 44 local function generate_rewards()
... ... @@ -47,10 +50,10 @@ local function generate_rewards()
47 50 local tt_def = game.player:getTalentTypeFrom(tt)
48 51 local cat = tt_def.type:gsub("/.*", "")
49 52 local doit = function(npc, player)
50   - if player:knowTalentType(tt) == nil then player:setTalentTypeMastery(tt, 0.9) end
  53 + if player:knowTalentType(tt) == nil then player:setTalentTypeMastery(tt, 1.0) end
51 54 player:learnTalentType(tt, true)
52 55 end
53   - answers[#answers+1] = {("[%s (at mastery %0.2f)]"):format(cat:capitalize().." / "..tt_def.name:capitalize(), 0.9),
  56 + answers[#answers+1] = {("[%s (at mastery %0.2f)]"):format(cat:capitalize().." / "..tt_def.name:capitalize(), 1.0),
54 57 action=doit,
55 58 on_select=function(npc, player)
56 59 game.tooltip_x, game.tooltip_y = 1, 1
... ...
... ... @@ -438,23 +438,29 @@ uberTalent{
438 438 local chat = Chat.new("worldly-knowledge", {name="Worldly Knowledge"}, self)
439 439 chat:invoke()
440 440 end,
  441 + passives = function(self, t, tmptable)
  442 + self:talentTemporaryValue(tmptable, "unused_generics", 5)
  443 + end,
441 444 info = function(self, t)
442   - 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.
  445 + 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.
443 446 GROUP 1:
444 447 - Technique / Conditioning
445 448 - Cunning / Survival
  449 + - Wild Gift / Harmony
446 450 GROUP 2:
447   - - Technique / Mobility
448   - - Technique / Field Control
449 451 - Wild Gift / Call of the Wild
450 452 - Wild Gift / Mindstar Mastery
451 453 - Psionic / Dreaming
  454 + - Psionic / Augmented Mobility
  455 + - Psionic / Feedback
452 456 GROUP 3:
453 457 - Spell / Divination
454 458 - Spell / Staff Combat
455 459 - Spell / Stone Alchemy
  460 + - Corruption / Vile Life
  461 + - Corruption / Hexes
  462 + - Corruption / Curses
456 463 - Celestial / Chants
457   - - Celestial / Light
458 464 - Chronomancy / Chronomancy]])
459 465 :format()
460 466 end,
... ...