diff --git a/game/modules/tome/data/chats/escort-quest.lua b/game/modules/tome/data/chats/escort-quest.lua index 4fcce3062422f1b5d11d38a141bf9501d07e6736..182079e21e9ea6b78a74a041d42dc4a9b139086b 100644 --- a/game/modules/tome/data/chats/escort-quest.lua +++ b/game/modules/tome/data/chats/escort-quest.lua @@ -23,7 +23,7 @@ local Stats = require("engine.interface.ActorStats") local reward_types = { warrior = { types = { - ["technique/conditioning"] = 0.8, + ["technique/conditioning"] = 1.0, }, talents = { [Talents.T_VITALITY] = 1, @@ -37,7 +37,7 @@ local reward_types = { }, divination = { types = { - ["spell/divination"] = 0.8, + ["spell/divination"] = 1.0, }, talents = { [Talents.T_ARCANE_EYE] = 1, @@ -50,7 +50,7 @@ local reward_types = { }, antimagic = { types = { - ["wild-gift/call"] = 0.8, + ["wild-gift/call"] = 1.0, }, saves = { mental = 4 }, talents = { @@ -65,8 +65,8 @@ local reward_types = { }, alchemy = { types = { - ["spell/staff-combat"] = 0.8, - ["spell/stone-alchemy"] = 0.8, + ["spell/staff-combat"] = 1.0, + ["spell/stone-alchemy"] = 1.0, }, talents = { [Talents.T_CHANNEL_STAFF] = 1, @@ -79,7 +79,7 @@ local reward_types = { }, antimagic = { types = { - ["wild-gift/mindstar-mastery"] = 0.8, + ["wild-gift/mindstar-mastery"] = 1.0, }, talents = { [Talents.T_PSIBLADES] = 1, @@ -94,7 +94,7 @@ local reward_types = { }, survival = { types = { - ["cunning/survival"] = 0.8, + ["cunning/survival"] = 1.0, }, talents = { [Talents.T_HEIGHTENED_SENSES] = 1, @@ -108,7 +108,7 @@ local reward_types = { }, sun_paladin = { types = { - ["celestial/chants"] = 0.8, + ["celestial/chants"] = 1.0, }, talents = { [Talents.T_CHANT_OF_FORTITUDE] = 1, @@ -119,9 +119,9 @@ local reward_types = { [Stats.STAT_MAG] = 5, }, antimagic = { --- types = { --- ["technique/mobility"] = 0.8, --imagine a world where paradox mage/archmage etc could access trained reactions --- }, + types = { + ["psionic/augmented-mobility"] = 1.0, + }, talents = { [Talents.T_DISENGAGE] = 1, [Talents.T_EVASION] = 1, @@ -135,7 +135,7 @@ local reward_types = { }, defiler = { types = { - ["corruption/curses"] = 0.8, + ["corruption/curses"] = 1.0, }, talents = { [Talents.T_CURSE_OF_DEFENSELESSNESS] = 1, @@ -148,7 +148,7 @@ local reward_types = { }, antimagic = { types = { - ["psionic/feedback"] = 0.8, + ["psionic/feedback"] = 1.0, }, talents = { [Talents.T_RESONANCE_FIELD] = 1, @@ -163,7 +163,7 @@ local reward_types = { }, temporal = { types = { - ["chronomancy/chronomancy"] = 0.8, + ["chronomancy/chronomancy"] = 1.0, }, talents = { [Talents.T_PRECOGNITION] = 1, @@ -175,7 +175,7 @@ local reward_types = { }, antimagic = { types = { - ["psionic/dreaming"] = 0.8, + ["psionic/dreaming"] = 1.0, }, talents = { [Talents.T_SLEEP] = 1, @@ -263,7 +263,7 @@ local function generate_rewards() level = math.min(t.points - game.player:getTalentLevelRaw(tid), level) if level > 0 then local doit = function(npc, player) game.party:reward("Select the party member to receive the reward:", function(player) - if game.player:knowTalentType(t.type[1]) == nil then player:setTalentTypeMastery(t.type[1], 0.8) end + if game.player:knowTalentType(t.type[1]) == nil then player:setTalentTypeMastery(t.type[1], 1.0) end player:learnTalent(tid, true, level, {no_unlearn=true}) if t.hide then player.__show_special_talents = player.__show_special_talents or {} player.__show_special_talents[tid] = true end player:hasQuest(npc.quest_id).reward_message = ("%s talent %s (+%d level(s))"):format(game.player:knowTalent(tid) and "improved" or "learnt", t.name, level) @@ -275,7 +275,7 @@ local function generate_rewards() on_select=function(npc, player) game.tooltip_x, game.tooltip_y = 1, 1 local mastery = nil - if player:knowTalentType(t.type[1]) == nil then mastery = 0.8 end + if player:knowTalentType(t.type[1]) == nil then mastery = 1.0 end game:tooltipDisplayAtMap(game.w, game.h, "#GOLD#"..t.name.."#LAST#\n"..tostring(player:getTalentFullDescription(t, 1, nil, mastery))) end, } diff --git a/game/modules/tome/data/quests/escort-duty.lua b/game/modules/tome/data/quests/escort-duty.lua index 1610fc2d99b54d9920b3f818ea671fcac0a23120..1bc489764aa7904f1084c72ca920d267ec8db2c4 100644 --- a/game/modules/tome/data/quests/escort-duty.lua +++ b/game/modules/tome/data/quests/escort-duty.lua @@ -349,6 +349,8 @@ on_grant = function(self, who) end end + for i, pp in ipairs(possible_types) do if pp.name == "lost sun paladin" then self.kind = pp end end + escorts_seen[self.kind.name] = (escorts_seen[self.kind.name] or 0) + 1 if self.kind.random == "player" then