mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-27 18:20:27 +01:00
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
This commit is contained in:
parent
52e89c9299
commit
e5521dc82b
@ -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,14 +86,14 @@ 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 ?
|
||||
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 ?
|
||||
player:punch(self.object, 2.0, { -- Modif MFF
|
||||
full_punch_interval = 2.0, -- Modif MFF
|
||||
damage_groups = {fleshy = 13}, -- Modif MFF
|
||||
}, nil)
|
||||
|
Loading…
Reference in New Issue
Block a user