mirror of
https://codeberg.org/tenplus1/mobs_animal.git
synced 2024-12-22 17:00:26 +01:00
add new attack settings
This commit is contained in:
parent
ae9a93e95d
commit
94acc325c0
1
cow.lua
1
cow.lua
@ -8,6 +8,7 @@ mobs:register_mob("mobs_animal:cow", {
|
|||||||
type = "animal",
|
type = "animal",
|
||||||
passive = false,
|
passive = false,
|
||||||
attack_type = "dogfight",
|
attack_type = "dogfight",
|
||||||
|
attack_npcs = false,
|
||||||
reach = 2,
|
reach = 2,
|
||||||
damage = 4,
|
damage = 4,
|
||||||
hp_min = 5,
|
hp_min = 5,
|
||||||
|
@ -7,7 +7,13 @@ local S = mobs.intllib
|
|||||||
mobs:register_mob("mobs_animal:kitten", {
|
mobs:register_mob("mobs_animal:kitten", {
|
||||||
stepheight = 0.6,
|
stepheight = 0.6,
|
||||||
type = "animal",
|
type = "animal",
|
||||||
passive = true,
|
specific_attack = {"mobs_animal:rat"},
|
||||||
|
damage = 1,
|
||||||
|
attack_type = "dogfight",
|
||||||
|
attack_animals = true, -- so it can attack rat
|
||||||
|
attack_players = false,
|
||||||
|
reach = 1,
|
||||||
|
passive = false,
|
||||||
hp_min = 5,
|
hp_min = 5,
|
||||||
hp_max = 10,
|
hp_max = 10,
|
||||||
armor = 200,
|
armor = 200,
|
||||||
|
@ -11,6 +11,7 @@ stepheight = 0.6,
|
|||||||
attack_type = "dogfight",
|
attack_type = "dogfight",
|
||||||
group_attack = true,
|
group_attack = true,
|
||||||
owner_loyal = true,
|
owner_loyal = true,
|
||||||
|
attack_npcs = false,
|
||||||
reach = 2,
|
reach = 2,
|
||||||
damage = 2,
|
damage = 2,
|
||||||
hp_min = 5,
|
hp_min = 5,
|
||||||
|
Loading…
Reference in New Issue
Block a user