Skip to content
Snippets Groups Projects
Commit 5c7b168e authored by dg's avatar dg
Browse files

Beyond the Flesh will not work on the worldmap

git-svn-id: http://svn.net-core.org/repos/t-engine4@2659 51575b47-30f0-44d4-a5cc-537603b46e54
parent 94bf4e13
No related branches found
No related tags found
No related merge requests found
......@@ -265,7 +265,7 @@ function _M:act()
end
-- this handles cursed gloom turn based effects
if self:isTalentActive(self.T_GLOOM) then
local t = self:getTalentFromId(self.T_GLOOM)
local t = self:getTalentFromId(self.T_GLOOM)
t.do_gloom(self, t)
end
-- this handles cursed call shadows turn based effects
......@@ -813,7 +813,7 @@ function _M:onTakeHit(value, src)
end
end
end
if self:attr("repulsion_shield") then
-- Absorb damage into the shield
if value <= self.repulsion_shield_absorb then
......@@ -830,7 +830,7 @@ function _M:onTakeHit(value, src)
self:removeEffect(self.EFF_REPULSION_SHIELD)
end
end
if self:attr("damage_shunt") then
-- Absorb damage into the shield
if value <= self.damage_shunt_absorb then
......@@ -847,7 +847,7 @@ function _M:onTakeHit(value, src)
self:removeEffect(self.EFF_DAMAGE_SHUNT)
end
end
if self:isTalentActive(self.T_BONE_SHIELD) then
local t = self:getTalentFromId(self.T_BONE_SHIELD)
t.absorb(self, t, self:isTalentActive(self.T_BONE_SHIELD))
......
......@@ -85,6 +85,8 @@ newTalent{
direct_hit = true,
tactical = { BUFF = 3 },
do_tkautoattack = function(self, t)
if game.zone.wilderness then return end
local targnum = 1
if self:hasEffect(self.EFF_PSIFRENZY) then targnum = 1 + math.ceil(0.2*self:getTalentLevel(self.T_FRENZIED_PSIFIGHTING)) end
local speed, hit = nil, false
......
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