Fix Slayer

This commit is contained in:
sladecraven 2021-11-01 19:59:44 +01:00
parent ec3e49e2f5
commit ab65901c38
2 changed files with 2 additions and 2 deletions

View File

@ -1835,7 +1835,7 @@
"effectApplication": "actor",
"effectTrigger": "calculateOpposedDamage",
"preventDuplicateEffects": false,
"script": "if (args.sizeDiff <= -2 && args.opposedTest.attackerTest.result.critical)\n args.damageMultiplier = Math.abs(args.sizeDiff)\n\n let sBonusDiff = args.opposedTest.defenderTest.result.actor.characteristics.t.bonus - args.opposedTest.attackerTest.result.actor.characteristics.s.bonus\n let weapon = args.opposedTest.attackerTest.item\n if (sBonusDiff > 0 && weapon && weapon.damage.value.includes(\"SB\"))\n args.damage += sBonusDiff"
"script": "if (args.sizeDiff <= -2 && args.opposedTest.attackerTest.result.critical)\n args.damageMultiplier = Math.abs(args.sizeDiff)\n\n let sBonusDiff = args.opposedTest.defenderTest.actor.characteristics.t.bonus - args.opposedTest.attackerTest.actor.characteristics.s.bonus\n let weapon = args.opposedTest.attackerTest.item\n if (sBonusDiff > 0 && weapon && weapon.damage.value.includes(\"SB\"))\n args.damage += sBonusDiff"
}
},
"icon": "modules/wfrp4e-core/icons/talents/slayer.png",

View File

@ -2,7 +2,7 @@
"name": "WH4-fr-translation",
"title": "WFRP4e - Core Module en français.",
"description": "Traduction Française pour Warhammer v4.",
"version": "4.2.2",
"version": "4.2.3",
"minimumCoreVersion" : "0.8.0",
"compatibleCoreVersion": "0.8.9",
"author": "LeRatierBretonnien",