Add heads to gameconfig and fix probabilities

master
Wuzzy 2017-07-05 15:58:34 +02:00
parent 3caf4cfddc
commit fbd552c048
6 changed files with 26 additions and 13 deletions

View File

@ -54,9 +54,12 @@ mobs_mc.items = {
nether_star = "mobs_mc:nether_star",
bone = "mobs_mc:bone",
slimeball = "mobs_mc:slimeball",
arrow = "mobs_mc:arrow",
bow = "mobs_mc:bow_wood",
head_creeper = "mobs_mc:head_creeper",
head_zombie = "mobs_mc:head_zombie",
head_skeleton = "mobs_mc:head_skeleton",
head_wither_skeleton = "mobs_mc:head_wither_skeleton",
-- External items
-- Mobs Redo

View File

@ -89,8 +89,10 @@ mobs:register_mob("mobs_mc:creeper", {
min = 0,
max = 2,},
{name = "mobs_mc:creeper_head",
chance = 200,
-- Head
-- TODO: Only drop if killed by charged creeper
{name = mobs_mc.items.head_creeper,
chance = 200, -- 0.5%
min = 1,
max = 1,},
},

View File

@ -52,9 +52,12 @@ local skeleton = {
chance = 1,
min = 0,
max = 2,},
{name = "mobs_mc:skeleton_head",
chance = 200,
min = 0,
-- Head
-- TODO: Only drop if killed by charged creeper
{name = mobs_mc.items.head_skeleton,
chance = 200, -- 0.5% chance
min = 1,
max = 1,},
},
animation = {

View File

@ -48,9 +48,11 @@ mobs:register_mob("mobs_mc:witherskeleton", {
chance = 1,
min = 0,
max = 2,},
{name = "mobs_mc:skeleton_head2",
chance = 200,
min = 0,
-- Head
{name = mobs_mc.items.head_wither_skeleton,
chance = 40, -- 2.5% chance
min = 1,
max = 1,},
},
animation = {

View File

@ -62,6 +62,13 @@ local zombie = {
chance = 11,
min = 1,
max = 1,},
-- Head
-- TODO: Only drop if killed by charged creeper
{name = mobs_mc.items.head_zombie,
chance = 200, -- 0.5%
min = 1,
max = 1,},
},
animation = {
speed_normal = 25, speed_run = 50,

View File

@ -56,10 +56,6 @@ local pigman = {
chance = 12, -- 8.333%, approximation to 8.5%
min = 1,
max = 1,},
{name = "mobs_mc:zombiepig_head",
chance = 200,
min = 0,
max = 1,},
},
animation = {
stnd_speed = 25, walk_speed = 25, run_speed = 50, punch_speed = 25,