一款简洁清爽的 Cobblemon 附属模组,为《宝可梦》正作中的“拾取”特性加入了非战斗状态下的效果,并在自定义潜力方面略有超常发挥。其逻辑依赖于该模组专用的战利品表,可通过数据包在 data/pickup/loot_tables/gameplay 路径进行覆盖,以方便自定义。例如,若要自定义“拾取”特性的战利品表,你需要创建一个数据包来覆盖 data/pickup/loot_tables/gameplay/pickup.json。模组内置支持对“拾取”和“采蜜”特性的处理。
在队伍赢得一场战斗后,每位拥有与战利品表关联特性的队员(默认情况下为“拾取”和“采蜜”)都可能触发其效果,并在手持槽位中获得一件物品。“拾取”特性的默认设置提供了从 《宝可梦红宝石、蓝宝石及竞技场系列的可能性列表 中选取物品的 10% 几率。“采蜜”特性的默认设置则提供了获得 Minecraft 蜂蜜瓶的 10% 几率。如果队员已经手持物品,则不会触发该效果。
在配置文件中:
debug:开启日志记录。默认为 false,即关闭日志。将其更改为 true 以开启调试模式。
A clean and simple Cobblemon side mod that adds the out-of-battle effect for the Pickup ability from the main games, then goes a little overboard with customization potential. The logic relies on loot tables specific to the mod that can be overridden by datapacks at data/pickup/loot_tables/gameplay, for ease of customization. For example, to customize the loot table for Pickup, you'd make a datapack that overrides data/pickup/loot_tables/gameplay/pickup.json. The mod has built-in support for Pickup and Honey Gather.
After a party wins a battle, each party member with an ability that has a loot table associated with it (Pickup and Honey Gather by default) may trigger its effect and receive an item in their held slot. The default settings for Pickup offer a 10% chance to pick an item from the Pokémon Ruby, Sapphire, and Colosseum set of possibilities. The default settings for Honey Gather offer a 10% chance to get Minecraft's Honey Bottle. If a party member is already holding an item, the effect does not trigger.
In the config:
debug: Turn on logs. By default, it's false, which turns it off. Change it to true to turn debug on.
评论 0
登录后参与评分
还没有评论,来抢沙发吧