mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 17:50:37 +01:00
add pathfinding to monsters
This commit is contained in:
parent
f8e7c9557d
commit
9bff7f1dee
@ -7,6 +7,7 @@ mobs:register_mob("mobs:creeper", {
|
||||
-- agressive, does 21 damage to player when explode
|
||||
passive = false,
|
||||
attack_type = "explode",
|
||||
pathfinding = true,
|
||||
damage = 21,
|
||||
-- health & armor
|
||||
hp_min = 30, hp_max = 40, armor = 90,
|
||||
|
@ -6,6 +6,7 @@ mobs:register_mob("mobs:dungeon_master", {
|
||||
type = "monster",
|
||||
-- aggressive, shoots fireballs at player, deal 13 damages
|
||||
passive = false,
|
||||
pathfinding = true,
|
||||
damage = 12,
|
||||
attack_type = "dogshoot",
|
||||
reach = 3,
|
||||
|
@ -18,6 +18,7 @@ mobs:register_mob("mobs:greensmall", {
|
||||
type = "monster",
|
||||
-- aggressive, deals 2 damage to player when hit
|
||||
passive = false,
|
||||
pathfinding = true,
|
||||
reach = 2,
|
||||
damage = 2,
|
||||
attack_type = "dogfight",
|
||||
|
@ -18,6 +18,7 @@ mobs:register_mob("mobs:lavasmall", {
|
||||
type = "monster",
|
||||
-- aggressive, deals 2 damage to player when hit
|
||||
passive = false,
|
||||
pathfinding = true,
|
||||
reach = 2,
|
||||
damage = 2,
|
||||
attack_type = "dogfight",
|
||||
|
@ -7,6 +7,8 @@ mobs:register_mob("mobs:minotaur", {
|
||||
-- aggressive, deals 11 damage to player when hit
|
||||
passive = false,
|
||||
attack_type = "dogfight",
|
||||
pathfinding = true,
|
||||
reach = 2,
|
||||
damage = 7,
|
||||
-- health & armor
|
||||
hp_min = 60,
|
||||
|
@ -30,6 +30,7 @@ mobs:register_mob("mobs:pumpking", {
|
||||
lava_damage = 0,
|
||||
fall_damage = 0,
|
||||
damage = 9,
|
||||
pathfinding = true,
|
||||
reach = 5,
|
||||
attack_type = "dogfight",
|
||||
view_range = 25,
|
||||
|
@ -7,6 +7,7 @@ mobs:register_mob("mobs:spider", {
|
||||
-- agressive, does 6 damage to player when hit
|
||||
passive = false,
|
||||
attack_type = "dogfight",
|
||||
pathfinding = true,
|
||||
reach = 2,
|
||||
damage = 5,
|
||||
-- health & armor
|
||||
|
@ -7,6 +7,7 @@ mobs:register_mob("mobs:tree_monster", {
|
||||
-- aggressive, deals 9 damage to player when hit
|
||||
passive = false,
|
||||
attack_type = "dogfight",
|
||||
pathfinding = true,
|
||||
reach = 2,
|
||||
damage = 8,
|
||||
-- health & armor
|
||||
|
@ -7,6 +7,8 @@ mobs:register_mob("mobs:wolf", {
|
||||
-- agressive, does 4 damage to player when hit
|
||||
passive = false,
|
||||
attack_type = "dogfight",
|
||||
pathfinding = true,
|
||||
reach = 2,
|
||||
damage = 4, -- 2 damages if tamed
|
||||
-- health & armor
|
||||
hp_min = 15, hp_max = 20, armor = 200,
|
||||
|
@ -8,6 +8,7 @@ mobs:register_mob("mobs:yeti", {
|
||||
passive = false,
|
||||
damage = 6,
|
||||
attack_type = "dogshoot",
|
||||
pathfinding = true,
|
||||
reach = 2,
|
||||
shoot_interval = .75,
|
||||
arrow = "mobs:snowball",
|
||||
|
@ -7,6 +7,7 @@ mobs:register_mob("mobs:zombie", {
|
||||
-- aggressive, deals 6 damage to player when hit
|
||||
passive = false,
|
||||
attack_type = "dogfight",
|
||||
pathfinding = true,
|
||||
damage = 5,
|
||||
-- health & armor
|
||||
hp_min = 30,
|
||||
|
Loading…
Reference in New Issue
Block a user