Specifically offsetTarget is not defined anywhere:
Code: Select all
diff --git a/game/modules/tome/class/Actor.lua b/game/modules/tome/class/Actor.lua
index d19b193..6c6409a 100644
--- a/game/modules/tome/class/Actor.lua
+++ b/game/modules/tome/class/Actor.lua
@@ -276,7 +276,7 @@ function _M:projectDoStop(typ, tg, damtype, dam, particles, lx, ly, tmp, rx, ry,
if target and target.getTalentFromId and target ~= projectile.src then
if target:knowTalent(target.T_SKIRMISHER_BUCKLER_MASTERY) then
local t = target:getTalentFromId(target.T_SKIRMISHER_BUCKLER_MASTERY)
- lx, ly = t.offsetTarget(target, t, lx, ly, projectile)
+-- lx, ly = t.offsetTarget(target, t, lx, ly, projectile)
print("[SKIRMISHER] Deflected a projectile")
end
end
diff --git a/game/modules/tome/class/Object.lua b/game/modules/tome/class/Object.lua
index f76b235..ed32980 100644
--- a/game/modules/tome/class/Object.lua
+++ b/game/modules/tome/class/Object.lua
@@ -1742,7 +1742,7 @@ function _M:on_prepickup(who, idx)
end
if who.player and self.lore then
game.level.map:removeObject(who.x, who.y, idx)
- game.party:learnLore(sselflf.lore)
+ game.party:learnLore(self.lore)
return true
end
if who.player and self.force_lore_artifact then