It was caused by slightly changing the world position of a bookshelf

Code: Select all
defineObject{
name = "assassin_dagger",
baseObject = "base_item",
components = {
{
class = "Model",
model = "assets/models/items/assassin_dagger.fbx",
},
{
class = "Item",
uiName = "Assassin's Dagger",
description = "A slender, wave-bladed dagger that only the most vile of the lizardmen assassins dare to use.",
traits = { "light_weapon", "dagger" },
gfxIndex = 402,
impactSound = "impact_blade",
gameEffect = "Life Leech: Successful hit drains life from target and heals you",
weight = 1.0,
},
{
class = "MeleeAttack",
attackPower = 25,
accuracy = 10,
cooldown = 2.8,
swipe = "vertical",
attackSound = "swipe_light",
requirements = { "light_weapons", 4 },
},
},
tags = { "weapon" },
}
Code: Select all
onHitMonster = function(self, monster, side, dmg, champion)
if monster:hasTrait("undead") or monster:hasTrait("elemental") or monster:hasTrait("construct") then
-- pass for now, showing text would be too annoying
else
champion:regainHealth(dmg*0.2)
end
end,
Downloaded latest version (0.5.9) before start. I have no similar problems in other mods (tried some) and main Grimrock 2 campaign.Scotty wrote:Updating to the latest version should fix that!