123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- ---- SKULL SWORD ------------------------------------------------------------------------------------------------------
- mobs:register_mob("frozenskulls:frozenskulls", {
- --nametag = "Frozen Skulls" ,
- type = "monster",
- --passive = false,
- armor = 80,
-
- hp_min = (minetest.PLAYER_MAX_HP_DEFAULT - 10),
- hp_max = (minetest.PLAYER_MAX_HP_DEFAULT + 10),
- walk_velocity = 4,
- run_velocity = 5.2,
-
- attack_type = 'dogfight',
- pathfinding = true,
- stand_chance = 50,
- walk_chance = 50,
- jump = true,
- jump_height = 1.1,
- stepheight = 1.1,
- pushable = true,
- view_range = 16,
- damage = 7,
- knock_back = true,
- fear_height = 6,
- fall_damage = true,
- lava_damage = 9999,
- suffocation = 0,
- floats = 0,
- reach = 4,
- attack_chance = 1,
- attack_animals = false,
- attack_npcs = true,
- attack_players = true,
- group_attack = true,
- blood_amount = 0,
-
- --[[
- hp_min = 10, --Padrão: 80
- hp_max = 10, --Padrão: 80
- walk_velocity = 1,
- run_velocity = 1.5, --padra: 5
- attack_type = "dogfight",
- pathfinding = true,
- jump_height = 2,
- stepheight = 1.1,
- floats = 0,
- view_range = 45,
- water_damage = 0,
- lava_damage = 1,
- light_damage = 0,
- damage = 15,
- --]]
-
- glow = 4, --Este mob invicado oor magia brulha no escuro como a rainha.
- --blood_texture = "bonex.png", --causa lag em servidor quando o mob ke atacado.
- makes_footstep_sound = true,
- sounds = {
- -- SOUNDS LINK :
- -- Bones : https://freesound.org/people/spookymodem/sounds/202091/
- -- sword : https://freesound.org/people/Merrick079/sounds/568169/
- attack = "sword",
- death = "falling_bones",
- },
- --[[
- drops = {
- --{name = "", chance = 2, min = 1, max = 1},
- --{name = "", chance = 5, min = 1, max = 1},
- --{name = "", chance = 3, min = 1, max = 1},
- },
- --]]
- visual = 'mesh',
- mesh = 'frozenskulls.b3d',
- visual_size = {x = 2.7, y = 2.7},
- collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.7, 0.3},
- selectionbox = {-0.3, 0.0, -0.3, 0.3, 1.7, 0.3},
- textures = {
- 'default_tool_steelsword.png',
- 'frozenskulls.png^skull_sword_crystal.png',
- --'skull_sword_crystal.png',
- },
- animation = {
- stand_start = 0,
- stand_end = 40,
- stand_speed = 15,
- walk_start = 40,
- walk_end = 60,
- walk_speed = 15,
- run_start = 40,
- run_end = 60,
- run_speed = 30,
- shoot_start = 70,
- shoot_end = 90,
- punch_start = 110,
- punch_end = 130,
- punch_speed = 25,
- die_start = 160,
- die_end = 170,
- die_speed = 15,
- die_loop = false,
- },
-
- --[[
- visual = "mesh",
- collisionbox = {-0.4, -1, -0.4, 0.4, 0.9, 0.4},
- mesh = "skull_sword.b3d",
- rotate = 180,
- textures = {
- {"skull_sword_crystal.png"},
- },
- animation = {
- speed_normal = 15,
- speed_run = 15,
- stand_start = 0,
- stand_end = 0,
- walk_start = 15,
- walk_end = 33,
- run_start = 35,
- run_end = 53,
- --punch_start = 40,
- --punch_end = 63,
- },
- --]]
- })
- --[[ ]]
- if not mobs.custom_spawn_monster then
- mobs:spawn({
- name = "frozenskulls:frozenskulls",
- nodes = {
- "ethereal:crystal",
- "ethereal:frost_leaves",
- "ethereal:gray_dirt",
- },
- --min_light = 0,
- max_light = 7, --Por brilhsr no escuro, so spawna a noite.
- interval = 60,
- chance = 600,
- min_height = 0,
- --max_height = 200,
- })
- end
- --]]
- mobs:register_egg("frozenskulls:frozenskulls", "Frozen Skulls", "eggsskullfrozen.png", 1)
- core.register_alias("frozenskulls:frozenskulls", "spawneggs:frozenskulls")
- mobs:alias_mob("frozenskulls:frozenskulls", "mobs:frozenskulls") -- compatibility
|