mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6855] Game Mode: weapons as items in ruleset fights, and damage that gets through a resistance's exception #3842
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3842
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kolacheee on GitHub (Sep 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6855
Originally assigned to: @kolacheee on GitHub.
What happens now
A Game Mode ruleset's items can be worn, carried, and change checks (#6832, #6846), but a weapon item does nothing in a fight. A ruleset fight offers only the rows of a sheet list (
combat.attacks) and stat block actions, so a sword the character holds has to be copied by hand into a sheet row before it can be swung, and the copy does not follow the item: putting it away, trading it or finding a better one changes nothing on the fight menu. An item the Game Master invents as a weapon cannot fight at all.Damage also cannot beat a resistance's exception. A werewolf that shrugs off anything but silver, or a creature resistant to everything but magic weapons, can only be written as always resistant or never.
What should happen
Slice I5-1 of the ruleset items plan (Capability API 1.55):
attack, the attack-row shape a ruleset fight already reads, with values in place of columns: its budget; to hit from the best of someabilities, askill, aproficiencyread off the holder's sheet, abonus, and a per-weapontargetin a pool fight; damagedice, the best of someabilities, abonusand atype;reachandrange(a weapon with both is thrown, as a sheet row already is);versatiledice while the holder has a hand free for it; andstrikes.{ "stat": "damage" }), so an invented weapon made like one and given other stats fights with them, held to its rarity's caps.resistorimmuneentry may say what gets through it:{ "type": "cut", "except": ["silver"] }.Plan: slice I5-1 in the ruleset items plan, split from I5 on 2026-09-29. Follows #6846. Armor and worn effects in a fight (I5-2) and ammunition and firearms (I5-3) follow.