First iteration over items
This commit is contained in:
@@ -247,11 +247,13 @@ export default class PrismRPGRoll extends Roll {
|
||||
}
|
||||
|
||||
} else if (options.rollType === "shield-roll") {
|
||||
// Legacy Lethal Fantasy - Shield Defense Roll (not used in PRISM RPG)
|
||||
// In PRISM, shields use Block action with Shield Rating (SR)
|
||||
hasD30 = false
|
||||
options.rollName = "Shield Defense"
|
||||
dice = options.rollTarget.system.defense.toUpperCase()
|
||||
options.rollName = "Shield Block"
|
||||
dice = "1d20" // Placeholder - actual Block mechanic handled elsewhere
|
||||
baseFormula = dice
|
||||
hasModifier = true
|
||||
hasModifier = false
|
||||
hasChangeDice = false
|
||||
hasMaxValue = false
|
||||
hasExplode = false
|
||||
@@ -261,7 +263,8 @@ export default class PrismRPGRoll extends Roll {
|
||||
options.rollName = options.rollTarget.name
|
||||
hasModifier = true
|
||||
hasChangeDice = false
|
||||
let damageBonus = (options.rollTarget.weapon.system.applyStrengthDamageBonus) ? options.rollTarget.combat.damageModifier : 0
|
||||
// In PRISM, all weapons apply STR damage bonus
|
||||
let damageBonus = options.rollTarget.combat.damageModifier
|
||||
options.rollTarget.value = damageBonus + options.rollTarget.weaponSkillModifier + options.rollTarget.weapon.system.bonuses.damageBonus
|
||||
options.rollTarget.charModifier = damageBonus
|
||||
if (options.rollType.includes("small")) {
|
||||
|
||||
Reference in New Issue
Block a user