1
0
Fork 0

Change all enemy attack info to more workable and understandable attacks

mineclone5
jordan4ibanez 2021-04-18 21:02:03 -04:00
parent 719bb2a3c9
commit 1920ddf915
22 changed files with 23 additions and 22 deletions

View File

@ -63,7 +63,7 @@ mobs:register_mob("mobs_mc:blaze", {
fall_speed = -2.25,
light_damage = 0,
view_range = 16,
attack_type = "dogshoot",
attack_type = "projectile",
arrow = "mobs_mc:blaze_fireball",
shoot_interval = 3.5,
shoot_offset = 1.0,

View File

@ -46,7 +46,7 @@ mobs:register_mob("mobs_mc:enderdragon", {
lava_damage = 0,
fire_damage = 0,
on_rightclick = nil,
attack_type = "dogshoot",
attack_type = "projectile",
arrow = "mobs_mc:dragon_fireball",
shoot_interval = 0.5,
shoot_offset = -1.0,

View File

@ -14,6 +14,7 @@ mobs:register_mob("mobs_mc:endermite", {
xp_max = 3,
armor = {fleshy = 100, arthropod = 100},
group_attack = true,
attack_type = "punch",
collisionbox = {-0.2, -0.01, -0.2, 0.2, 0.29, 0.2},
visual = "mesh",
mesh = "mobs_mc_endermite.b3d",

View File

@ -49,7 +49,7 @@ mobs:register_mob("mobs_mc:ghast", {
},
fall_damage = 0,
view_range = 100,
attack_type = "dogshoot",
attack_type = "projectile",
arrow = "mobs_mc:fireball",
shoot_interval = 3.5,
shoot_offset = -5,

View File

@ -13,7 +13,7 @@ mobs:register_mob("mobs_mc:guardian", {
xp_max = 10,
breath_max = -1,
passive = false,
attack_type = "dogfight",
attack_type = "punch",
pathfinding = 1,
view_range = 16,
walk_velocity = 2,

View File

@ -15,7 +15,7 @@ mobs:register_mob("mobs_mc:guardian_elder", {
xp_max = 10,
breath_max = -1,
passive = false,
attack_type = "dogfight",
attack_type = "punch",
pathfinding = 1,
view_range = 16,
walk_velocity = 2,

View File

@ -30,7 +30,7 @@ mobs:register_mob("mobs_mc:polar_bear", {
walk_velocity = 1.2,
run_velocity = 2.4,
group_attack = true,
attack_type = "dogfight",
attack_type = "punch",
drops = {
-- 3/4 chance to drop raw fish (poor approximation)
{name = mobs_mc.items.fish_raw,

View File

@ -14,7 +14,7 @@ local S = minetest.get_translator("mobs_mc")
mobs:register_mob("mobs_mc:shulker", {
type = "monster",
spawn_class = "hostile",
attack_type = "shoot",
attack_type = "projectile",
shoot_interval = 0.5,
arrow = "mobs_mc:shulkerbullet",
shoot_offset = 0.5,

View File

@ -43,7 +43,7 @@ mobs:register_mob("mobs_mc:silverfish", {
run_start = 0, run_end = 20,
},
view_range = 16,
attack_type = "dogfight",
attack_type = "punch",
damage = 1,
reach = 1,
})

View File

@ -84,7 +84,7 @@ local skeleton = {
ignited_by_sunlight = true,
view_range = 16,
fear_height = 4,
attack_type = "dogshoot",
attack_type = "projectile",
arrow = "mcl_bows:arrow_entity",
shoot_arrow = function(self, pos, dir)
if mod_bows then

View File

@ -85,7 +85,7 @@ mobs:register_mob("mobs_mc:witherskeleton", {
fire_damage = 0,
light_damage = 0,
view_range = 16,
attack_type = "dogfight",
attack_type = "punch",
dogshoot_switch = 1,
dogshoot_count_max =0.5,
fear_height = 4,

View File

@ -99,7 +99,7 @@ local slime_big = {
},
fall_damage = 0,
view_range = 16,
attack_type = "dogfight",
attack_type = "jump_punch",
passive = false,
jump_only = true,
jump = true,
@ -344,7 +344,7 @@ local magma_cube_big = {
light_damage = 0,
fall_damage = 0,
view_range = 16,
attack_type = "dogfight",
attack_type = "jump_punch",
passive = false,
jump_only = true,
jump = true,

View File

@ -17,7 +17,7 @@ local spider = {
spawn_class = "hostile",
passive = false,
docile_by_day = true,
attack_type = "dogfight",
attack_type = "punch",
pathfinding = 1,
damage = 2,
reach = 2,

View File

@ -14,7 +14,7 @@ mobs:register_mob("mobs_mc:vex", {
spawn_class = "hostile",
pathfinding = 1,
passive = false,
attack_type = "dogfight",
attack_type = "punch",
physical = false,
hp_min = 14,
hp_max = 14,

View File

@ -34,7 +34,7 @@ mobs:register_mob("mobs_mc:evoker", {
walk_velocity = 0.2,
run_velocity = 1.4,
group_attack = true,
attack_type = "dogfight",
attack_type = "punch",
-- Summon vexes
custom_attack = function(self, to_attack)
local r = pr:next(2,4)

View File

@ -9,7 +9,7 @@ local mod_bows = minetest.get_modpath("mcl_bows") ~= nil
mobs:register_mob("mobs_mc:illusioner", {
type = "monster",
spawn_class = "hostile",
attack_type = "shoot",
attack_type = "projectile",
shoot_interval = 2.5,
shoot_offset = 1.5,
arrow = "mcl_bows:arrow_entity",

View File

@ -36,7 +36,7 @@ mobs:register_mob("mobs_mc:vindicator", {
reach = 2,
walk_velocity = 1.2,
run_velocity = 2.4,
attack_type = "dogfight",
attack_type = "punch",
drops = {
{name = mobs_mc.items.emerald,
chance = 1,

View File

@ -51,7 +51,7 @@ mobs:register_mob("mobs_mc:villager_zombie", {
reach = 2,
walk_velocity = 1.2,
run_velocity = 2.4,
attack_type = "dogfight",
attack_type = "punch",
group_attack = true,
drops = {
{name = mobs_mc.items.rotten_flesh,

View File

@ -33,7 +33,7 @@ mobs:register_mob("mobs_mc:witch", {
run_velocity = 2.4,
pathfinding = 1,
group_attack = true,
attack_type = "dogshoot",
attack_type = "projectile",
arrow = "mobs_mc:potion_arrow",
shoot_interval = 2.5,
shoot_offset = 1,

View File

@ -52,7 +52,7 @@ mobs:register_mob("mobs_mc:wither", {
},
lava_damage = 0,
fire_damage = 0,
attack_type = "dogshoot",
attack_type = "projectile",
explosion_strength = 8,
dogshoot_stop = true,
arrow = "mobs_mc:wither_skull",

View File

@ -88,7 +88,7 @@ local zombie = {
ignited_by_sunlight = true,
sunlight_damage = 2,
view_range = 16,
attack_type = "dogfight",
attack_type = "punch",
harmed_by_heal = true,
}

View File

@ -20,7 +20,7 @@ local pigman = {
xp_min = 6,
xp_max = 6,
armor = {undead = 90, fleshy = 90},
attack_type = "dogfight",
attack_type = "punch",
group_attack = { "mobs_mc:pigman", "mobs_mc:baby_pigman" },
damage = 9,
reach = 2,