From e5521dc82b65137dca21eacc1e4cfca0b06415bf Mon Sep 17 00:00:00 2001 From: Ombridride Date: Mon, 4 Jul 2016 01:38:26 +0200 Subject: [PATCH] Mese dragon fixes Ok, last bug with the mese dragon : the fireball don't hit the player, there are too y+1 or y+2 to the player colisionbox, need to add a offset --- mods/mobs/mese_dragon.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mods/mobs/mese_dragon.lua b/mods/mobs/mese_dragon.lua index fd60b6dc..3ffa2e3c 100644 --- a/mods/mobs/mese_dragon.lua +++ b/mods/mobs/mese_dragon.lua @@ -4,7 +4,7 @@ mobs:register_mob("mobs:mese_dragon", { passive = false, damage = 13, attack_type = "dogshoot", - reach = 3, + reach = 4, shoot_interval = 2, arrow = "mobs:mese_dragon_fireball", shoot_offset = 2, @@ -86,16 +86,16 @@ mobs:register_arrow("mobs:mese_dragon_fireball", { -- direct hit, no fire... just plenty of pain hit_player = function(self, player) - player:punch(self.object, 1.0, { -- Mettre à 2.0 aussi ? - full_punch_interval = 2.0, -- Modif MFF - damage_groups = {fleshy = 13}, -- Modif MFF + player:punch(self.object, 2.0, { -- Modif MFF + full_punch_interval = 2.0, -- Modif MFF + damage_groups = {fleshy = 13}, -- Modif MFF }, nil) end, hit_mob = function(self, player) - player:punch(self.object, 1.0, { -- Mettre à 2.0 aussi ? - full_punch_interval = 2.0, -- Modif MFF - damage_groups = {fleshy = 13}, -- Modif MFF + player:punch(self.object, 2.0, { -- Modif MFF + full_punch_interval = 2.0, -- Modif MFF + damage_groups = {fleshy = 13}, -- Modif MFF }, nil) end,