1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-03-20 11:10:41 +01:00

Set creeper radius_damage from 3 to 2

Wolves are hostile now
This commit is contained in:
sys4 2017-11-11 18:13:09 +01:00
parent 6241f4ecaf
commit 853837fb40
2 changed files with 64 additions and 59 deletions

View File

@ -5,7 +5,7 @@ mobs:register_mob("creeper:creeper", {
type = "monster", type = "monster",
passive = false, passive = false,
attack_type = "explode", attack_type = "explode",
explosion_radius = 3, explosion_radius = 2,
damage = 21, damage = 21,
hp_min = 30, hp_min = 30,
hp_max = 40, hp_max = 40,

View File

@ -1,9 +1,14 @@
-- Wolf by KrupnoPavel -- Wolf by KrupnoPavel
mobs:register_mob("pmobs:wolf", { mobs:register_mob(
type = "animal", "pmobs:wolf",
hp_max = 5, {
type = "monster",
passive = false,
pathfinding = false,
reach = 2,
hp_max = 20,
passive = false, passive = false,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4}, collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
visual = "mesh", visual = "mesh",
@ -20,7 +25,7 @@ mobs:register_mob("pmobs:wolf", {
walk_velocity = 2, walk_velocity = 2,
run_velocity = 3, run_velocity = 3,
stepheight = 1.1, stepheight = 1.1,
damage = 2, damage = 3,
armor = 200, armor = 200,
attack_type = "dogfight", attack_type = "dogfight",
drops = { drops = {
@ -58,7 +63,7 @@ mobs:register_mob("pmobs:wolf", {
jump = true, jump = true,
step = 0.5, step = 0.5,
blood_texture = "mobs_blood.png", blood_texture = "mobs_blood.png",
}) })
mobs:register_spawn("pmobs:wolf", {"default:dirt_with_grass","default:dirt","default:snow", "default:snowblock"}, 20, -1, 22000, 1, 31000) mobs:register_spawn("pmobs:wolf", {"default:dirt_with_grass","default:dirt","default:snow", "default:snowblock"}, 20, -1, 22000, 1, 31000)
mobs:register_egg("pmobs:wolf", "Wolf", "wool_grey.png", 1) mobs:register_egg("pmobs:wolf", "Wolf", "wool_grey.png", 1)