adjust armor, hp, velocity, spawns for regular dragons

This commit is contained in:
tchncs 2016-10-06 00:45:32 +02:00
parent 249d999335
commit 1cf6c33c81

View File

@ -76,8 +76,8 @@ mobs:register_mob("illuna:dragon", {
type = "monster",
passive = false,
attacks_monsters = true,
damage = 4,
reach = 3,
damage = 22,
reach = 6,
attack_type = "dogshoot",
shoot_interval = 2.5,
dogshoot_switch = 2,
@ -85,10 +85,10 @@ mobs:register_mob("illuna:dragon", {
dogshoot_count_max =5,
arrow = "illuna:fire",
shoot_offset = 1,
hp_min = 70,
hp_max = 100,
armor = 100,
collisionbox = {-0.6, -1.2, -0.6, 0.6, 0.6, 0.6},
hp_min = 280,
hp_max = 360,
armor = 400,
collisionbox = {-0.6, -1.2, -0.6, 0.6, 0.6, 0.6},
visual = "mesh",
mesh = "dragon.b3d",
textures = {
@ -101,14 +101,14 @@ mobs:register_mob("illuna:dragon", {
jump_chance = 30,
walk_chance = 80,
fall_speed = 0,
follow = {"illuna:dragon_gem"},
--follow = {"illuna:dragon_gem"},
pathfinding = true,
fall_damage = 0,
sounds = {
shoot_attack = "mobs_fireball",
},
walk_velocity = 3,
run_velocity = 5,
walk_velocity = 6,
run_velocity = 11,
jump = true,
fly = true,
drops = {
@ -142,8 +142,8 @@ mobs:register_mob("illuna:dragon2", {
type = "monster",
passive = false,
attacks_monsters = true,
damage = 4,
reach = 3,
damage = 26,
reach = 18,
attack_type = "dogshoot",
shoot_interval = 2.5,
dogshoot_switch = 2,
@ -151,9 +151,9 @@ mobs:register_mob("illuna:dragon2", {
dogshoot_count_max =5,
arrow = "illuna:lightning",
shoot_offset = 1,
hp_min = 70,
hp_max = 100,
armor = 100,
hp_min = 310,
hp_max = 410,
armor = 350,
collisionbox = {-0.6, -1.2, -0.6, 0.6, 0.6, 0.6},
visual = "mesh",
mesh = "dragon.b3d",
@ -173,8 +173,8 @@ mobs:register_mob("illuna:dragon2", {
sounds = {
shoot_attack = "mobs_fireball",
},
walk_velocity = 3,
run_velocity = 5,
walk_velocity = 8,
run_velocity = 14,
jump = true,
fly = true,
drops = {
@ -207,8 +207,8 @@ mobs:register_mob("illuna:dragon3", {
type = "monster",
passive = false,
attacks_monsters = true,
damage = 4,
reach = 3,
damage = 18,
reach = 5,
attack_type = "dogshoot",
shoot_interval = 2.5,
dogshoot_switch = 2,
@ -216,8 +216,8 @@ mobs:register_mob("illuna:dragon3", {
dogshoot_count_max =5,
arrow = "illuna:poison",
shoot_offset = 1,
hp_min = 70,
hp_max = 100,
hp_min = 270,
hp_max = 340,
armor = 100,
collisionbox = {-0.6, -1.2, -0.6, 0.6, 0.6, 0.6},
visual = "mesh",
@ -238,8 +238,8 @@ mobs:register_mob("illuna:dragon3", {
sounds = {
shoot_attack = "mobs_fireball",
},
walk_velocity = 3,
run_velocity = 5,
walk_velocity = 6,
run_velocity = 10,
jump = true,
fly = true,
drops = {
@ -272,8 +272,8 @@ mobs:register_mob("illuna:dragon4", {
type = "monster",
passive = false,
attacks_monsters = true,
damage = 4,
reach = 3,
damage = 32,
reach = 7,
attack_type = "dogshoot",
shoot_interval = 2.5,
dogshoot_switch = 2,
@ -281,9 +281,9 @@ mobs:register_mob("illuna:dragon4", {
dogshoot_count_max =5,
arrow = "illuna:ice",
shoot_offset = 1,
hp_min = 70,
hp_max = 100,
armor = 100,
hp_min = 360,
hp_max = 520,
armor = 800,
collisionbox = {-0.6, -1.2, -0.6, 0.6, 0.6, 0.6},
visual = "mesh",
mesh = "dragon.b3d",
@ -303,8 +303,8 @@ mobs:register_mob("illuna:dragon4", {
sounds = {
shoot_attack = "mobs_fireball",
},
walk_velocity = 3,
run_velocity = 5,
walk_velocity = 11,
run_velocity = 18,
jump = true,
fly = true,
drops = {
@ -338,8 +338,8 @@ mobs:register_mob("illuna:dragon_red", {
type = "npc",
passive = false,
attacks_monsters = true,
damage = 4,
reach = 3,
damage = 22,
reach = 8,
attack_type = "dogshoot",
shoot_interval = 2.5,
dogshoot_switch = 2,
@ -347,9 +347,9 @@ mobs:register_mob("illuna:dragon_red", {
dogshoot_count_max =5,
arrow = "illuna:fire",
shoot_offset = 1,
hp_min = 80,
hp_max = 100,
armor = 100,
hp_min = 380,
hp_max = 500,
armor = 400,
collisionbox = {-0.6, -0.9, -0.6, 0.6, 0.6, 0.6},
visual = "mesh",
mesh = "dragon.b3d",
@ -372,8 +372,8 @@ mobs:register_mob("illuna:dragon_red", {
sounds = {
shoot_attack = "mobs_fireball",
},
walk_velocity = 3,
run_velocity = 5,
walk_velocity = 8,
run_velocity = 16,
jump = true,
fly = true,
drops = {
@ -429,8 +429,8 @@ mobs:register_mob("illuna:dragon_black", {
type = "npc",
passive = false,
attacks_monsters = true,
damage = 4,
reach = 3,
damage = 32,
reach = 8,
attack_type = "dogshoot",
shoot_interval = 2.5,
dogshoot_switch = 2,
@ -438,9 +438,9 @@ mobs:register_mob("illuna:dragon_black", {
dogshoot_count_max =5,
arrow = "illuna:lightning",
shoot_offset = 1,
hp_min = 80,
hp_max = 100,
armor = 100,
hp_min = 480,
hp_max = 560,
armor = 480,
collisionbox = {-0.6, -0.9, -0.6, 0.6, 0.6, 0.6},
visual = "mesh",
mesh = "dragon.b3d",
@ -463,8 +463,8 @@ mobs:register_mob("illuna:dragon_black", {
sounds = {
shoot_attack = "mobs_fireball",
},
walk_velocity = 3,
run_velocity = 5,
walk_velocity = 22,
run_velocity = 30,
jump = true,
fly = true,
drops = {
@ -520,8 +520,8 @@ mobs:register_mob("illuna:dragon_green", {
type = "npc",
passive = false,
attacks_monsters = true,
damage = 4,
reach = 3,
damage = 14,
reach = 7,
attack_type = "dogshoot",
shoot_interval = 2.5,
dogshoot_switch = 2,
@ -529,9 +529,9 @@ mobs:register_mob("illuna:dragon_green", {
dogshoot_count_max =5,
arrow = "illuna:poison",
shoot_offset = 1,
hp_min = 80,
hp_max = 100,
armor = 100,
hp_min = 480,
hp_max = 520,
armor = 600,
collisionbox = {-0.6, -0.9, -0.6, 0.6, 0.6, 0.6},
visual = "mesh",
mesh = "dragon.b3d",
@ -554,8 +554,8 @@ mobs:register_mob("illuna:dragon_green", {
sounds = {
shoot_attack = "mobs_fireball",
},
walk_velocity = 3,
run_velocity = 5,
walk_velocity = 6,
run_velocity = 16,
jump = true,
fly = true,
drops = {
@ -611,8 +611,8 @@ mobs:register_mob("illuna:dragon_blue", {
type = "npc",
passive = false,
attacks_monsters = true,
damage = 4,
reach = 3,
damage = 14,
reach = 24,
attack_type = "dogshoot",
shoot_interval = 2.5,
dogshoot_switch = 2,
@ -620,8 +620,8 @@ mobs:register_mob("illuna:dragon_blue", {
dogshoot_count_max =5,
arrow = "illuna:ice",
shoot_offset = 1,
hp_min = 80,
hp_max = 100,
hp_min = 380,
hp_max = 400,
armor = 100,
collisionbox = {-0.6, -0.9, -0.6, 0.6, 0.6, 0.6},
visual = "mesh",
@ -645,8 +645,8 @@ mobs:register_mob("illuna:dragon_blue", {
sounds = {
shoot_attack = "mobs_fireball",
},
walk_velocity = 3,
run_velocity = 5,
walk_velocity = 7,
run_velocity = 16,
jump = true,
fly = true,
drops = {
@ -734,10 +734,10 @@ minetest.register_node("illuna:egg", {
end
end
local which_dragon
if name1 == "default:lava_source" then which_dragon = "red"
elseif name1 == "default:obsidian" then which_dragon = "black"
elseif name1 == "default:cactus" then which_dragon = "green"
elseif name1 == "default:ice" then which_dragon = "blue"
if name1 == "caverealms:glow_ruby" then which_dragon = "red"
elseif name1 == "caverealms:glow_mese" then which_dragon = "black"
elseif name1 == "caverealms:glow_emerald" then which_dragon = "green"
elseif name1 == "caverealms:thin_ice" then which_dragon = "blue"
end
minetest.after(100, function(pos, dragon, pname)
if which_dragon == "red" then
@ -756,7 +756,6 @@ minetest.register_node("illuna:egg", {
end,
})
minetest.register_node("illuna:dragon_egg_fire", {
description = "Dragon Egg",
drawtype = "mesh",