Add checks for analyzing magic

This commit is contained in:
Johannes Loher 2021-04-13 20:19:25 +02:00
parent e7564a0a5a
commit ad2fd01353
4 changed files with 11 additions and 3 deletions

View file

@ -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",

View file

@ -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",

View file

@ -231,6 +231,7 @@ export class DS4Actor extends Actor<DS4ActorData, DS4Item, DS4ActorPreparedData>
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<DS4ActorData, DS4Item, DS4ActorPreparedData>
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,

View file

@ -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",