mirror of
https://codeberg.org/tenplus1/mobs_monster.git
synced 2024-12-22 17:00:26 +01:00
tweak fire spirit
This commit is contained in:
parent
5d8bcde2ae
commit
a02ca31b92
@ -32,8 +32,8 @@ mobs:register_mob("mobs_monster:fire_spirit", {
|
|||||||
glow = 14,
|
glow = 14,
|
||||||
blood_texture = "fire_basic_flame.png",
|
blood_texture = "fire_basic_flame.png",
|
||||||
immune_to = {
|
immune_to = {
|
||||||
{"bucket:bucket_water", 1},
|
{"bucket:bucket_water", 2},
|
||||||
{"bucket:bucket_river_water", 1},
|
{"bucket:bucket_river_water", 2},
|
||||||
{"all"}
|
{"all"}
|
||||||
},
|
},
|
||||||
makes_footstep_sound = false,
|
makes_footstep_sound = false,
|
||||||
@ -48,7 +48,7 @@ mobs:register_mob("mobs_monster:fire_spirit", {
|
|||||||
jump = true,
|
jump = true,
|
||||||
jump_height = 6,
|
jump_height = 6,
|
||||||
drops = mob_drops,
|
drops = mob_drops,
|
||||||
water_damage = 1,
|
water_damage = 4,
|
||||||
lava_damage = 0,
|
lava_damage = 0,
|
||||||
fire_damage = 0,
|
fire_damage = 0,
|
||||||
light_damage = 0,
|
light_damage = 0,
|
||||||
@ -67,7 +67,7 @@ mobs:register_mob("mobs_monster:fire_spirit", {
|
|||||||
|
|
||||||
self.flame_timer = (self.flame_timer or 0) + dtime
|
self.flame_timer = (self.flame_timer or 0) + dtime
|
||||||
|
|
||||||
if self.flame_timer < 0.25 then return end
|
if self.flame_timer < 0.1 then return end
|
||||||
|
|
||||||
self.flame_timer = 0
|
self.flame_timer = 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user