Code: Select all
defineObject{
name = "tow_slug",
class = "Monster",
model = "mod_assets/models/tombs_of_winterfell/monsters/tow_slug.fbx",
meshName = "slug_mesh",
animations = {
idle = "mod_assets/animations/tombs_of_winterfell/slug/slug_idle.fbx",
moveForward = "mod_assets/animations/tombs_of_winterfell/slug/slug_walk.fbx",
turnLeft = "mod_assets/animations/tombs_of_winterfell/slug/slug_turn_left.fbx",
turnRight = "mod_assets/animations/tombs_of_winterfell/slug/slug_turn_right.fbx",
attack = "mod_assets/animations/tombs_of_winterfell/slug/slug_attack.fbx",
getHitFrontLeft = "mod_assets/animations/tombs_of_winterfell/slug/slug_hit_right.fbx",
getHitFrontRight = "mod_assets/animations/tombs_of_winterfell/slug/slug_hit_left.fbx",
getHitBack = "mod_assets/animations/tombs_of_winterfell/slug/slug_hit_center.fbx",
getHitLeft = "mod_assets/animations/tombs_of_winterfell/slug/slug_hit_left.fbx",
getHitRight = "mod_assets/animations/tombs_of_winterfell/slug/slug_hit_right.fbx",
fall = "mod_assets/animations/tombs_of_winterfell/slug/slug_hit_center.fbx",
},
moveSound = "snail_walk",
attackSound = "ogre_rush_begin",
hitSound = "snail_hit",
dieSound = "snail_die",
hitEffect = "hit_goo",
capsuleHeight = 0.7,
capsuleRadius = 0.5,
health = 450,
sight = 4,
attackPower = 80,
accuracy = 30,
protection = 15,
movementCoolDown = 0.5,
immunities = { "poison" },
coolDown = { 0.5, 2 },
evasion = -10,
noRecoilInterval = { 0.1, 0.5 },
exp = 680,
lootDrop = { 75, "snail_slice", 10, "snail_slice" },
healthIncrement = 30,
attackPowerIncrement = 9,
brain = "Melee",
onDealDamage = function(self, champion, damage)
party:shakeCamera(0.5, 0.3)
party:playScreenEffect("damage_screen")
end
}