12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- mobs:register_mob("heated:heated", {
- nametag = "Heated Boss" ,
- type = "monster",
- passive = true, --So ataca se fir atacado.
- attack_chance = 5, --05% de chance do jogador ser atacado sem provocar o mob.
- attack_animals = false,
- attack_npcs = false,
- attack_players = true,
- attack_type = "dogfight",
- pathfinding = true,
- reach = 8, --Padrão: 3 (alcance do golpe.)
- damage = 20, --20 é morte instatanea sem armadura.
- hp_min = 1400,
- hp_max = 1400,
- armor = 80,
- pushable = true,
- collisionbox = {-1.0, -1.5, -1.0, 1.0, 2.0, 1.0},
- visual = "mesh",
- mesh = "heated.b3d",
- rotate = 180,
- textures = {
- {"heated.png"},
- },
- glow = 4,
- --blood_amount = 3,
- --blood_texture = "default_obsidian_shard.png", --causa lag em servidor quando o mob ke atacado.
- makes_footstep_sound = true,
- sounds = {
- -- SOUND :
- -- https://freesound.org/people/NicknameLarry/sounds/489901/
- random = "monsterhot",
- --attack = "monster",
- --death = "",
- },
- fly = true ,
- fly_in = "air",
- walk_velocity = 2,
- run_velocity = 4,
- jump_height = 2,
- stepheight = 3.0,
- floats = 0,
- view_range = 35,
- drops = {
- {name = "ebitems:sword_obsidian", chance = 1, min = 1, max = 1},
- {name = "ebitems:heated_trophy", chance = 1, min = 1, max = 1},
- --{name = "", chance = 2, min = 1, max = 2},
- },
- water_damage = 1,
- lava_damage = 0,
- light_damage = 0,
- animation = {
- speed_normal = 15,
- speed_run = 30,
- speed_punch = 50,
- stand_start = 1,
- stand_end = 20,
- walk_start = 30,
- walk_end = 70,
- run_start = 80,
- run_end = 100,
- punch_start = 110,
- punch_end = 130,
- },
- })
- if not mobs.custom_spawn_monster then
- mobs:spawn({
- name = "heated:heated",
- nodes = {"ethereal:fiery_dirt"},
- min_light = 7,
- --max_light = 14,
- interval = 60,
- chance = 12000,
- --max_height = 200,
- min_height = 0,
- })
- end
- mobs:register_egg("heated:heated", "heated", "eggsheated.png", 1)
- core.register_alias("heated:heated", "spawneggs:heated")
- mobs:alias_mob("heated:heated", "mobs:heated") -- compatibility
|