▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Critfall
Critfall

Critfall

Tabletop style d20 combat for Minecraft: attack rolls against Armor Class, dice damage, crits and fumbles.

Оцените первым
715
2

!Critfall

Critfall brings tabletop D20 combat to Minecraft. Every attack rolls a d20 against the target's Armor Class. A hit rolls damage dices, natural 20s crit and natural 1s can fumble. Every mechanic has its own switch, and every number comes from data you can change.

!Features

Attack rolls against Armor Class

Melee hits, arrows, thrown tridents and spells roll a d20 plus an attack bonus against the target's Armor Class. A miss deals no damage. A hit rolls the weapon's damage dice. The action bar shows the roll, and the health the hit actually took when armor or Resistance changed it.

!A hit on a zombie, with the roll on the action bar

Natural 20s crit

A natural 20 always hits and deals the most its dice can roll. It can also slow the target or knock it back, and a line in chat marks the moment. A jump attack rolls with advantage: two d20s, keep the higher.

!A natural 20 on a zombie

Natural 1s fumble

A natural 1 always misses, and a second d20 decides whether it turns into a fumble. A fumble can land on whoever stands nearest. After a fumble, natural 1s are plain misses for 10 seconds, so fast fights don't fumble all the time. Weapon damage on a fumble is off until you turn it on, and datapacks can add fumbles that drop the weapon, hurt the attacker or make them stumble.

!A fumble that lands on a pig

Stats for every mob and weapon

Vanilla mobs and weapons come with profiles: Armor Class, attack bonus, damage dice and crit range. Mobs and weapons from other mods get stats worked out from their attributes, so a modpack works without setup. /critfall inspect shows what a mob rolls with and which profile it came from.

!The inspect command on an iron golem

For pack makers and mod developers

Profiles for mobs, weapons and spells are datapack JSON, matched by id or tag. /critfall generate writes an editable profile for every mob and weapon in the pack, and /critfall report lists which ones have a profile and which use worked out stats. Dry run shows every roll while vanilla damage still applies, so you can tune a pack in normal play. Three presets set crits and fumbles: Tempered (the default), Classic and Lite.

Mods build on the public Java API in studio.modroll.critfall.api: roll events, RollService and a dice parser. Checks, Initiative and the Headless Horseman use only this API. KubeJS scripts can call it too, with examples in the repo.

!The check command on an iron sword

!Requirements

Requires

  • Minecraft 1.21.1
  • NeoForge 21.1 or newer, or Fabric Loader 0.16.9 or newer with Fabric API
  • On a server, install it on the server. On clients it is optional: without it, players still see the roll as plain text, without the flavor lines, sounds and particles.

Optional

  • Mod Menu on Fabric, for the config button in the mod list.

Works with

  • Critfall: Checks: ability scores feed Critfall's attack bonus, damage, Armor Class and saving throws.
  • Critfall: Initiative: fights become turn based encounters. Critfall still rolls every attack and save.
  • Critfall: Headless Horseman: a Halloween boss whose attacks, damage and saves Critfall rolls.
  • Spell mods that tag their damage as magic: spells roll to hit or call for a saving throw. Tested with Iron's Spells 'n Spellbooks and Ars Nouveau on NeoForge.

!Configuration

Open the config screen from the mod list: Mods → Critfall → Config on NeoForge, or the config button in Mod Menu on Fabric. The first page has a preset (Tempered, Classic or Lite) and the switches most players want. All settings has every rule. Save applies the rules at once.

The rules live in config/critfall/rules.json and are read again on /reload. On a server, the server's file applies. Each player's config/critfall/client.json turns the readout, flavor lines, sounds and particles on or off.

!The config screen

Every option and its default

config/critfall/rules.json. Options in bold are on the first page of the config screen.

OptionDefaultWhat it does
attack_rolls.enabledtrueMaster switch: off leaves all combat vanilla.
attack_rolls.playerstruePlayers' attacks roll to hit.
attack_rolls.mobstrueMobs' attacks roll to hit.
attack_rolls.projectilestrueArrows, tridents and thrown items roll when they land.
attack_rolls.spellstrueSpell damage rolls to hit, or calls for a saving throw.
damage_dice.enabledtrueA hit deals rolled dice; off keeps the vanilla damage.
crits.enabledtrueNatural 20s crit. Off leaves crits to vanilla and other mods.
crits.rulemax_diceCrit damage: max_dice, double_dice or double_total.
crits.nat20_always_hitstrueA natural 20 hits whatever the Armor Class.
crits.apply_effect.enabledtrueA crit can put a status effect on the target.
crits.knockback.enabledtrueA crit can knock the target back.
fumbles.enabledtrueA natural 1 can set off a fumble.
fumbles.nat1_always_missestrueA natural 1 misses whatever the attack bonus.
fumbles.confirmation_roll.enabledtrueA second d20 must also fail before a fumble counts.
fumbles.confirmation_roll.dc10The second d20 must roll below this (2 to 20).
fumbles.cooldown_ticks200After a fumble, natural 1s are plain misses this long. 20 ticks = 1 second.
fumbles.durability_break.enabledfalseA fumble can damage the weapon.
fumbles.durability_break.modeset_to_1Down to 1 durability (set_to_1), or lose a share of it (percent_loss).
fumbles.durability_break.percent25Share of max durability lost in percent_loss mode.
fumbles.hit_nearest_ally.enabledtrueA fumble can land on the nearest creature instead.
fumbles.hit_nearest_ally.radius4How far away, in blocks, that creature can be (1 to 64).
fumbles.hit_nearest_ally.can_hit_playerstrueOff never turns a fumble into a hit on a player.
fumbles.hit_nearest_ally.respect_pvp_rulestrueHonors the server's PvP setting and team friendly fire.
fumbles.self_damage.enabledfalseLets a datapack's fumble make the attacker hurt themselves.
fumbles.self_damage.dice1d4Damage a fumble deals to the attacker.
fumbles.drop_weapon.enabledfalseLets a datapack's fumble knock the weapon out of the attacker's hand.
fumbles.stumble.enabledfalseLets a datapack's fumble slow the attacker for a moment.
fumbles.stumble.slowness_ticks40How long the stumble lasts.
fumbles.applies_toplayers_and_mobsWhose natural 1s can fumble: players, mobs or players_and_mobs.
spells.saves.enabledtrueArea spells make the target save instead of rolling to hit.
spells.saves.default_dc13The DC when a spell names none (1 to 30).
spells.saves.on_successhalfA successful save takes half damage or none (negate).
fallbacks.unknown_entityderiveMobs without a profile: derive stats, or stay vanilla (vanilla_passthrough).
fallbacks.unknown_weaponderiveWeapons without a profile: derive dice, or stay vanilla.
fallbacks.unknown_spellderiveSpells without a profile: derive dice, or stay vanilla.
feedback.roll_visibilityeveryoneWho is sent the readout: everyone, attacker_only or off.
feedback.flavor.enabledtrueFlavor lines on crits, fumbles and some kills.
feedback.flavor.cooldown_ticks20Least time between flavor lines on one target.
feedback.flavor.kill_chance_percent25Chance of a line on an ordinary kill. Named mobs and bosses always get one.
balance.global_damage_multiplier1.0Scales all rolled damage.
balance.disable_vanilla_armor_reductionfalseOn, armor only raises Armor Class and no longer reduces hits.
balance.armor_ac_divisor4Armor points per point of Armor Class (1 to 100).
balance.toughness_ac_divisor4Armor toughness points per point of Armor Class (1 to 100).
balance.player_attack_bonus5Added to a player's attack bonus (−20 to 20).
dry_run.enabledfalseRolls are shown, but vanilla damage still applies. For tuning a modpack.
modifier_providers.enabledtrueUse bonuses and Armor Class from a mod that supplies them, such as Checks.
advantage_sources.jump_attacktrueA falling crit hit rolls two d20s and keeps the higher.

config/critfall/client.json

OptionDefaultWhat it does
rollstrueThe roll readout on the action bar.
flavortrueFlavor lines in chat.
soundstrueA sound on hits, crits and fumbles.
particlestrueParticles on crits and fumbles.

The full reference, with every value each option takes, is in docs/rules-config.md.

!Commands

All commands need operator permission.

CommandWhat it does
/critfall inspect [entity]A mob's Armor Class, attack bonus and damage, and which profile they came from. Without an entity, the one you look at.
/critfall check [item]An item's dice, bonus, crit range and fumble and crit tables. Without an item, the one in your hand.
/critfall generate [missing]Writes a datapack with a profile for every mob and weapon in the game, ready to edit. missing only writes the ones without a profile.
/critfall reportWrites a CSV and JSON list of every mob and item and where its stats come from.

!Modpacks

Free to use in any modpack.

!Links

  • Critfall on modroll.studio
  • Source
  • Issues
Партнёрский материал

Как поиграть с друзьями с модом Critfall?

Мод Critfall куда интереснее в компании: поднимите сервер Майнкрафт с уже установленным модом, позовите друзей и играйте по своим правилам. Хостинг Майнкрафт для мода Critfall будет готов за пару минут - BungeeHost сделает всё за вас.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Зависимости

Ссылки

Детали

Лицензия:
Опубликован:4 месяца назад
Обновлён:5 дней назад
Главная