From 224671de1c2a47bdaa791e943a2f6a20fc2d92cf Mon Sep 17 00:00:00 2001 From: DarkGod <darkgod@net-core.org> Date: Tue, 20 Dec 2016 14:07:56 +0100 Subject: [PATCH] Ogres's Writ Large lets them get a 6th inscription slot as before, but they have to use a category point to actually unlock it --- game/modules/tome/data/talents/gifts/mindstar-mastery.lua | 2 +- game/modules/tome/data/talents/misc/races.lua | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/game/modules/tome/data/talents/gifts/mindstar-mastery.lua b/game/modules/tome/data/talents/gifts/mindstar-mastery.lua index 9b9f9294cd..15abff092b 100644 --- a/game/modules/tome/data/talents/gifts/mindstar-mastery.lua +++ b/game/modules/tome/data/talents/gifts/mindstar-mastery.lua @@ -32,7 +32,7 @@ newTalent{ points = 5, mode = "sustained", sustain_equilibrium = 18, - cooldown = 6, + cooldown = 10, tactical = { BUFF = 4 }, getPowermult = function(self,t,level) return 1.076 + 0.324*(level or self:getTalentLevel(t))^.5 end, --I5 getStatmult = function(self,t,level) return 1.076 + 0.324*(level or self:getTalentLevel(t))^.5 end, --I5 diff --git a/game/modules/tome/data/talents/misc/races.lua b/game/modules/tome/data/talents/misc/races.lua index 977e0d83c4..6eb99d979e 100644 --- a/game/modules/tome/data/talents/misc/races.lua +++ b/game/modules/tome/data/talents/misc/races.lua @@ -1079,6 +1079,12 @@ newTalent{ no_unlearn_last = true, cooldown = function(self, t) return math.ceil(self:combatTalentLimit(t, 6, 47, 35)) end, -- Limit >6 getDuration = function(self, t) return math.floor(self:combatTalentLimit(t, 15, 5, 10)) end, + on_levelup_close = function(self, t, lvl, old_lvl, lvl_raw, old_lvl_raw) + if lvl >= 5 and old_lvl < 5 then + self.inscriptions_slots_added = self.inscriptions_slots_added - 1 + game.logPlayer(self, "#PURPLE#Your mastery over inscriptions is unmatched! One more inscriptions slot available to buy.") + end + end, action = function(self, t) self:removeEffect(self.EFF_RUNE_COOLDOWN) self:removeEffect(self.EFF_INFUSION_COOLDOWN) @@ -1089,7 +1095,7 @@ newTalent{ info = function(self, t) return ([[Instantly removes runic and infusion saturations. For %d turns your inscriptions cooldown twice as fast. - ]]): + At level 5 your command over inscriptions is so good that you can use one more (you still need a category point to unlock it; you need to exit the levelup screen to validate it).]]): format(t.getDuration(self, t)) end, } -- GitLab