Commit 5c7b168eb9ebdaccb4a1415e83aeb1bbb00813ea

Authored by dg
1 parent 94bf4e13

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
... ... @@ -265,7 +265,7 @@ function _M:act()
265 265 end
266 266 -- this handles cursed gloom turn based effects
267 267 if self:isTalentActive(self.T_GLOOM) then
268   - local t = self:getTalentFromId(self.T_GLOOM)
  268 + local t = self:getTalentFromId(self.T_GLOOM)
269 269 t.do_gloom(self, t)
270 270 end
271 271 -- this handles cursed call shadows turn based effects
... ... @@ -813,7 +813,7 @@ function _M:onTakeHit(value, src)
813 813 end
814 814 end
815 815 end
816   -
  816 +
817 817 if self:attr("repulsion_shield") then
818 818 -- Absorb damage into the shield
819 819 if value <= self.repulsion_shield_absorb then
... ... @@ -830,7 +830,7 @@ function _M:onTakeHit(value, src)
830 830 self:removeEffect(self.EFF_REPULSION_SHIELD)
831 831 end
832 832 end
833   -
  833 +
834 834 if self:attr("damage_shunt") then
835 835 -- Absorb damage into the shield
836 836 if value <= self.damage_shunt_absorb then
... ... @@ -847,7 +847,7 @@ function _M:onTakeHit(value, src)
847 847 self:removeEffect(self.EFF_DAMAGE_SHUNT)
848 848 end
849 849 end
850   -
  850 +
851 851 if self:isTalentActive(self.T_BONE_SHIELD) then
852 852 local t = self:getTalentFromId(self.T_BONE_SHIELD)
853 853 t.absorb(self, t, self:isTalentActive(self.T_BONE_SHIELD))
... ...
... ... @@ -85,6 +85,8 @@ newTalent{
85 85 direct_hit = true,
86 86 tactical = { BUFF = 3 },
87 87 do_tkautoattack = function(self, t)
  88 + if game.zone.wilderness then return end
  89 +
88 90 local targnum = 1
89 91 if self:hasEffect(self.EFF_PSIFRENZY) then targnum = 1 + math.ceil(0.2*self:getTalentLevel(self.T_FRENZIED_PSIFIGHTING)) end
90 92 local speed, hit = nil, false
... ...