add dodge
This commit is contained in:
@@ -47,6 +47,9 @@ export async function preTraitRollModifiers (actor, trait, roll, modifiers, opti
|
||||
if (scaleMod !== 0) {
|
||||
modifiers.push({ label: 'Scale', value: scaleMod, ignore: false })
|
||||
}
|
||||
if (target.actor.items.find(e => e.type === 'edge' && e.system.swid === 'dodge')) {
|
||||
modifiers.push({ label: 'Dodge', value: -2, ignore: true })
|
||||
}
|
||||
if (trait?.type === 'skill' && trait?.system?.swid === 'fighting') {
|
||||
const gangUpBonus = calcGangup(token, target)
|
||||
if (gangUpBonus > 0) {
|
||||
|
||||
Reference in New Issue
Block a user