Add chance condition to rogue ai core drop
This commit is contained in:
parent
ec008d7243
commit
0306ec6455
@ -22,6 +22,7 @@ fun addEntityLoot(loot: LootTables) {
|
|||||||
}
|
}
|
||||||
lootPool {
|
lootPool {
|
||||||
item(MItems.ROGUE_AI_CORE) {
|
item(MItems.ROGUE_AI_CORE) {
|
||||||
|
chanceCondition(0.5)
|
||||||
setCount(1, 1)
|
setCount(1, 1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -30,6 +31,7 @@ fun addEntityLoot(loot: LootTables) {
|
|||||||
loot.builder(LootContextParamSets.ENTITY, modLootTable("entities/android_melee")) {
|
loot.builder(LootContextParamSets.ENTITY, modLootTable("entities/android_melee")) {
|
||||||
lootPool {
|
lootPool {
|
||||||
item(MItems.ROGUE_AI_CORE) {
|
item(MItems.ROGUE_AI_CORE) {
|
||||||
|
chanceCondition(0.3)
|
||||||
setCount(1, 1)
|
setCount(1, 1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user