From e7564a0a5a6605fcb523b5342cd896c9a8c6c3d8 Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 11 Apr 2021 15:19:21 +0000 Subject: [PATCH 1/2] release version 0.5.2 --- package.json | 2 +- src/system.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 771fe7f..ac91e30 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "private": true, "name": "dungeonslayers4", "description": "An implementation of the Dungeonslayers 4 game system for Foundry Virtual Tabletop.", - "version": "0.5.1", + "version": "0.5.2", "license": "MIT", "homepage": "https://git.f3l.de/dungeonslayers/ds4", "repository": { diff --git a/src/system.json b/src/system.json index abc19c4..fc86c22 100644 --- a/src/system.json +++ b/src/system.json @@ -2,7 +2,7 @@ "name": "ds4", "title": "Dungeonslayers 4", "description": "The Dungeonslayers 4 system for FoundryVTT. Dungeonslayers (© Christian Kennig) is licensed under CC BY-NC-SA 3.0 (https://creativecommons.org/licenses/by-nc-sa/3.0/de/deed.en).", - "version": "0.5.1", + "version": "0.5.2", "minimumCoreVersion": "0.7.9", "compatibleCoreVersion": "0.7.9", "templateVersion": 3, @@ -71,7 +71,7 @@ "primaryTokenAttribute": "combatValues.hitPoints", "url": "https://git.f3l.de/dungeonslayers/ds4", "manifest": "https://git.f3l.de/dungeonslayers/ds4/-/raw/latest/src/system.json?inline=false", - "download": "https://git.f3l.de/dungeonslayers/ds4/-/jobs/artifacts/0.5.1/download?job=build", + "download": "https://git.f3l.de/dungeonslayers/ds4/-/jobs/artifacts/0.5.2/download?job=build", "license": "MIT", "initiative": "@combatValues.initiative.total", "manifestPlusVersion": "1.0.0", From ad2fd013530a92651ae61e76696841463c212a92 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Tue, 13 Apr 2021 20:19:25 +0200 Subject: [PATCH 2/2] Add checks for analyzing magic --- src/lang/de.json | 4 +++- src/lang/en.json | 4 +++- src/module/actor/actor.ts | 2 ++ src/module/config.ts | 4 +++- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/lang/de.json b/src/lang/de.json index 96c654a..91f8a7e 100644 --- a/src/lang/de.json +++ b/src/lang/de.json @@ -238,7 +238,7 @@ "DS4.SettingUseSlayingDiceForAutomatedChecksName": "Slayende Würfel", "DS4.SettingUseSlayingDiceForAutomatedChecksHint": "Benutze Slayende Würfel bei automatisierten Proben.", "DS4.ChecksAppraise": "Schätzen", - "DS4.ChangeSpell": "Zauber Wechseln", + "DS4.ChecksChangeSpell": "Zauber Wechseln", "DS4.ChecksClimb": "Klettern", "DS4.ChecksCommunicate": "Verständigen", "DS4.ChecksDecipherScript": "Inschrift Entziffern", @@ -249,6 +249,7 @@ "DS4.ChecksFlirt": "Flirten", "DS4.ChecksHaggle": "Feilschen", "DS4.ChecksHide": "Verbergen", + "DS4.ChecksIdentifyMagic": "Magie Erkennen", "DS4.ChecksJump": "Springen", "DS4.ChecksKnowledge": "Wissen", "DS4.ChecksOpenLock": "Schlösser Öffnen", @@ -258,6 +259,7 @@ "DS4.ChecksResistDisease": "Krankheit Trotzen", "DS4.ChecksRide": "Reiten", "DS4.ChecksSearch": "Suchen", + "DS4.ChecksSenseMagic": "Magie Erspüren", "DS4.ChecksSneak": "Sneak", "DS4.ChecksStartFire": "Feuer Machen", "DS4.ChecksSwim": "Schwimmen", diff --git a/src/lang/en.json b/src/lang/en.json index f5d456c..26d950c 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -238,7 +238,7 @@ "DS4.SettingUseSlayingDiceForAutomatedChecksName": "Slaying Dice", "DS4.SettingUseSlayingDiceForAutomatedChecksHint": "Use Slaying Dice for automated checks.", "DS4.ChecksAppraise": "Appraise", - "DS4.ChangeSpell": "Change Spell", + "DS4.ChecksChangeSpell": "Change Spell", "DS4.ChecksClimb": "Climb", "DS4.ChecksCommunicate": "Communicate", "DS4.ChecksDecipherScript": "Decipher Script", @@ -249,6 +249,7 @@ "DS4.ChecksFlirt": "Flirt", "DS4.ChecksHaggle": "Haggle", "DS4.ChecksHide": "Hide", + "DS4.ChecksIdentifyMagic": "Identify Magic", "DS4.ChecksJump": "Jump", "DS4.ChecksKnowledge": "Knowledge", "DS4.ChecksOpenLock": "Open Lock", @@ -258,6 +259,7 @@ "DS4.ChecksResistDisease": "Resist Disease", "DS4.ChecksRide": "Ride", "DS4.ChecksSearch": "Search", + "DS4.ChecksSenseMagic": "Sense Magic", "DS4.ChecksSneak": "Sneak", "DS4.ChecksStartFire": "Start Fire", "DS4.ChecksSwim": "Swim", diff --git a/src/module/actor/actor.ts b/src/module/actor/actor.ts index 17b03b9..1bb05a0 100644 --- a/src/module/actor/actor.ts +++ b/src/module/actor/actor.ts @@ -231,6 +231,7 @@ export class DS4Actor extends Actor flirt: data.attributes.mind.total + data.traits.aura.total, haggle: data.attributes.mind.total + Math.max(data.traits.intellect.total, data.traits.intellect.total), hide: data.attributes.mobility.total + data.traits.agility.total, + identifyMagic: data.attributes.mind.total + data.traits.intellect.total, jump: data.attributes.mobility.total + data.traits.agility.total, knowledge: data.attributes.mind.total + data.traits.intellect.total, openLock: data.attributes.mind.total + data.traits.dexterity.total, @@ -240,6 +241,7 @@ export class DS4Actor extends Actor resistDisease: data.attributes.body.total + data.traits.constitution.total, ride: data.attributes.mobility.total + Math.max(data.traits.agility.total, data.traits.aura.total), search: Math.max(data.attributes.mind.total + data.traits.intellect.total, 8), + senseMagic: data.attributes.mind.total + data.traits.aura.total, sneak: data.attributes.mobility.total + data.traits.agility.total, startFire: data.attributes.mind.total + data.traits.dexterity.total, swim: data.attributes.mobility.total + data.traits.strength.total, diff --git a/src/module/config.ts b/src/module/config.ts index c299035..2b314cd 100644 --- a/src/module/config.ts +++ b/src/module/config.ts @@ -284,7 +284,7 @@ export const DS4 = { checks: { appraise: "DS4.ChecksAppraise", - changeSpell: "DS4.ChangeSpell", + changeSpell: "DS4.ChecksChangeSpell", climb: "DS4.ChecksClimb", communicate: "DS4.ChecksCommunicate", decipherScript: "DS4.ChecksDecipherScript", @@ -295,6 +295,7 @@ export const DS4 = { flirt: "DS4.ChecksFlirt", haggle: "DS4.ChecksHaggle", hide: "DS4.ChecksHide", + identifyMagic: "DS4.ChecksIdentifyMagic", jump: "DS4.ChecksJump", knowledge: "DS4.ChecksKnowledge", openLock: "DS4.ChecksOpenLock", @@ -304,6 +305,7 @@ export const DS4 = { resistDisease: "DS4.ChecksResistDisease", ride: "DS4.ChecksRide", search: "DS4.ChecksSearch", + senseMagic: "DS4.ChecksSenseMagic", sneak: "DS4.ChecksSneak", startFire: "DS4.ChecksStartFire", swim: "DS4.ChecksSwim",