diff --git a/game/modules/tome/data/talents/cunning/scoundrel.lua b/game/modules/tome/data/talents/cunning/scoundrel.lua index 0cfda6e09371c35308fb977ae10fb4a208738315..f70ae0fc89f8481bff4feb7f413117575994ee34 100644 --- a/game/modules/tome/data/talents/cunning/scoundrel.lua +++ b/game/modules/tome/data/talents/cunning/scoundrel.lua @@ -129,7 +129,7 @@ newTalent{ end end, callbackOnTemporaryEffect = function(self, eff, eff_id, e, p) - if e.status ~= "detrimental" or e.type ~= "physical" or not (p.src and p.src._is_actor) then return end + if e.status ~= "detrimental" or e.type ~= "physical" or not (p.src and p.src.__is_actor) then return end local chance = self:callTalent(self.T_MISDIRECTION, "getChance") if not rng.percent(chance) then return end game.logSeen(self, "#ORANGE#%s redirects the effect '%s'!#LAST#", self:getName():capitalize(), e.desc) diff --git a/game/modules/tome/data/timed_effects/other.lua b/game/modules/tome/data/timed_effects/other.lua index 4532aae9ed7d5cd8a9d5a92d40c36f056de9799d..6033baf27973bc26ddef61317fc99c37bbc3a22c 100644 --- a/game/modules/tome/data/timed_effects/other.lua +++ b/game/modules/tome/data/timed_effects/other.lua @@ -1553,11 +1553,11 @@ newEffect{ (function() local def, level, bonusLevel = self.tempeffect_def[self.EFF_CURSE_OF_NIGHTMARES], eff.level, math.min(eff.unlockLevel, eff.level) if math.min(eff.unlockLevel, eff.level) >= 3 then - --if e.status == "detrimental" and not e.subtype["cross tier"] and p.src and p.src._is_actor and not p.src.dead then + --if e.status == "detrimental" and not e.subtype["cross tier"] and p.src and p.src.__is_actor and not p.src.dead then --local e = self.tempeffect_def[eff_id] if e.status ~= "detrimental" or e.type == "other" or e.subtype["cross tier"] then return end local harrowDam = def.getHarrowDam(self, level) - if p.src and p.src._is_actor then + if p.src and p.src.__is_actor then DamageType:get(DamageType.MIND).projector(self, p.src.x, p.src.y, DamageType.MIND, harrowDam) DamageType:get(DamageType.MIND).projector(self, p.src.x, p.src.y, DamageType.DARKNESS, harrowDam) --game.logSeen(self, "#F53CBE#%s harrows '%s'!", self:getName():capitalize(), p.src.name)