Add chance condition to rogue ai core drop

This commit is contained in:
GearShocky 2025-03-28 18:21:17 +05:00
parent ec008d7243
commit 0306ec6455

View File

@ -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)
} }
} }