This commit is contained in:
sladecraven 2021-02-19 09:26:38 +01:00
parent 9acbb767bf
commit d639d16abe
5 changed files with 3660 additions and 2113 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1611,7 +1611,7 @@
"effectApplication": "actor",
"effectTrigger": "takeDamage",
"preventDuplicateEffects": false,
"script": "args.totalWoundLoss -= 1\nargs.messageElements.push(\"1 Robuste\")\n\nif (args.totalWoundLoss >= 0)\n{\nlet weapon = args.opposeData.attackerTestResult.weapon\nif \n(weapon && weapon.properties.flaws.includes(game.i18n.localize(\"PROPERTY.Undamaging\")))\n args.totalWoundLoss = 0\nelse\n args.totalWoundLoss = 1\n}"
"script": "args.totalWoundLoss -= 1\nargs.messageElements.push(\"1 Robuste\")\n\nif (args.totalWoundLoss <= 0)\n{\nlet weapon = args.opposeData.attackerTestResult.weapon\nif \n(weapon && weapon.properties.flaws.includes(game.i18n.localize(\"PROPERTY.Undamaging\")))\n args.totalWoundLoss = 0\nelse\n args.totalWoundLoss = 1\n}"
}
},
"icon": "modules/wfrp4e-core/icons/talents/robust.png",

View File

@ -3,7 +3,7 @@
"name": "WH4-fr-translation",
"title": "Traduction du module WH4 en Français.",
"description": "La traduction du module WH4.",
"version": "1.4.6",
"version": "1.4.7",
"minimumCoreVersion" : "0.7.1",
"compatibleCoreVersion": "0.7.9",
"author": "LeRatierBretonnien",

View File

@ -3,8 +3,8 @@ package.path = package.path .. ";luajson/?.lua"
local JSON = require"json"
--local talent_db = "../../WFRP4e-FoundryVTT/packs/talents.db"
local dbfile ='/home/morr/.local/share/FoundryVTT/Data/modules/wfrp4e-core/packs/trappings.db'
local jsonfile = "../compendium/wfrp4e-core.trappings.json"
local dbfile ='/home/morr/.local/share/FoundryVTT/Data/modules/wfrp4e-core/packs/criticals.db'
local jsonfile = "../compendium/wfrp4e-core.criticals.json"
local dbf = io.open(dbfile)

File diff suppressed because it is too large Load Diff