From c16224e91bdc789c34799592edc6f9797a15a9dc Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Sun, 8 Apr 2012 10:52:01 +0000 Subject: [PATCH] Aura of Silence do not apply on the user, to prevent brainlock git-svn-id: http://svn.net-core.org/repos/t-engine4@5025 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/class/GameState.lua | 2 +- game/modules/tome/data/talents/gifts/antimagic.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/game/modules/tome/class/GameState.lua b/game/modules/tome/class/GameState.lua index 55bdc1d5b9..51efa63dd2 100644 --- a/game/modules/tome/class/GameState.lua +++ b/game/modules/tome/class/GameState.lua @@ -1559,7 +1559,7 @@ function _M:createRandomBoss(base, data) local t = b:getTalentFromId(tid) if t then print(" * talent", tid) - local max = (t.points == 1) and 1 or math.ceil(t.points * 1.6) + local max = (t.points == 1) and 1 or math.ceil(t.points * 1.4) local step = max / 50 b.learn_tids[tid] = math.ceil(step * data.level) end diff --git a/game/modules/tome/data/talents/gifts/antimagic.lua b/game/modules/tome/data/talents/gifts/antimagic.lua index 5f482cdde6..58afc88045 100644 --- a/game/modules/tome/data/talents/gifts/antimagic.lua +++ b/game/modules/tome/data/talents/gifts/antimagic.lua @@ -56,7 +56,7 @@ newTalent{ tactical = { DISABLE = { silence = 4 } }, radius = function(self, t) return 4 + self:getTalentLevel(t) * 1.5 end, target = function(self, t) - return {type="ball", range=self:getTalentRange(t), radius=self:getTalentRadius(t), selffire=true, talent=t} + return {type="ball", range=self:getTalentRange(t), radius=self:getTalentRadius(t), selffire=false, talent=t} end, action = function(self, t) local tg = self:getTalentTarget(t) -- GitLab