1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-30 13:14:20 +00:00

correction vitesses à valeurs décimales + corrections diverses

This commit is contained in:
Maxime Moraine 2020-04-24 18:03:17 +02:00
parent c82032e499
commit bde66fed9f
20 changed files with 161 additions and 138 deletions

View file

@ -80,11 +80,14 @@
</div>
</div>
<div class="break-avoid">
<div class="monster-saving-throws" v-if="monsterStats.savingThrows && monsterStats.savingThrows.length > 0">
<div class="monster-saving-throws" v-if="monsterStats.customSavingThrows || (monsterStats.savingThrows && monsterStats.savingThrows.length > 0)">
<strong>Jets de sauvegarde</strong>
<span class="monster-saving-throw" v-for="(savingThrow, idx) in monsterStats.savingThrows">
<template>{{displaySavingThrowBonus(savingThrow)}}</template><template v-if="idx < monsterStats.savingThrows.length - 1">, </template>
</span>
<template v-if="monsterStats.customSavingThrows">{{monsterStats.customSavingThrows}}</template>
<template v-else>
<template v-for="(savingThrow, idx) in monsterStats.savingThrows">
<template>{{displaySavingThrowBonus(savingThrow)}}</template><template v-if="idx < monsterStats.savingThrows.length - 1">, </template>
</template>
</template>
</div>
<div class="monster-skills" v-if="monsterStats.skills && monsterStats.skills.length > 0">
<strong>Compétences</strong>
@ -105,12 +108,13 @@
<span v-html="displayDamageTypes(monsterStats.damageTypeImmunities)"></span>
</div>
<div class="monster-condition-immunities" v-if="monsterStats.conditionImmunities && monsterStats.conditionImmunities.length > 0">
<strong>Immunité contre les états</strong>
<span v-for="(condition, idx) in monsterStats.conditionImmunities">
<strong>Immunité contre <template v-if="monsterStats.conditionImmunities.length == 1">l'état</template><template v-else>les états</template></strong>
<span v-html="displayConditionImmunities()"></span>
<!-- <span v-for="(condition, idx) in monsterStats.conditionImmunities">
<template v-if="idx < monsterStats.conditionImmunities.length - 2 && idx > 1">,</template>
<template v-if="idx == monsterStats.conditionImmunities.length - 1">et</template>
<em><router-link :to="{ path: conditionPath(condition) }">{{displayCondition(condition)}}</router-link></em>
</span>
</span> -->
</div>
<div class="monster-senses">
<strong>Sens</strong>
@ -402,30 +406,45 @@ export default {
if (this.monsterStats.senses.tremorsense) {
result += 'perception des vibrations ' + this.monsterStats.senses.tremorsense + ' m'
}
if (this.monsterStats.senses.blindsight) {
if (this.monsterStats.senses.blindsight || this.monsterStats.senses.customBlindSight) {
if (result != '') {
result += ', '
}
result += 'vision aveugle ' + this.monsterStats.senses.blindsight + ' m'
if (this.monsterStats.senses.customBlindSight) {
result += 'vision aveugle ' + this.monsterStats.senses.customBlindSight
} else {
result += 'vision aveugle ' + this.monsterStats.senses.blindsight + ' m'
}
}
if (this.monsterStats.senses.darkvision) {
if (this.monsterStats.senses.darkvision || this.monsterStats.senses.customDarkvision) {
if (result != '') {
result += ', '
}
result += 'vision dans le noir ' + this.monsterStats.senses.darkvision + ' m'
if (this.monsterStats.senses.customDarkvision) {
result += 'vision dans le noir ' + this.monsterStats.senses.customDarkvision
} else {
result += 'vision dans le noir ' + this.monsterStats.senses.darkvision + ' m'
}
}
if (this.monsterStats.senses.truesight) {
if (this.monsterStats.senses.truesight || this.monsterStats.senses.customTrueSight) {
if (result != '') {
result += ', '
}
result += 'vision parfaite ' + this.monsterStats.senses.truesight + ' m'
if (this.monsterStats.senses.customTrueSight) {
result += 'vision parfaite ' + this.monsterStats.senses.customTrueSight
} else {
result += 'vision parfaite ' + this.monsterStats.senses.truesight + ' m'
}
}
if (result != '') {
result += ', '
}
}
result += 'Perception passive ' + this.passivePerception
if (this.monsterStats.senses && this.monsterStats.senses.customPassivePerception) {
result += 'Perception passive ' + this.monsterStats.senses.customPassivePerception
} else {
result += 'Perception passive ' + this.passivePerception
}
return result
},

View file

@ -16,7 +16,7 @@ ac:
armorType: "armure naturelle"
value: 8
movement:
walk: 7
walk: 7,50
senses:
blindsight: 18
conditionImmunities:

View file

@ -16,7 +16,7 @@ ac:
armorType: null
movement:
walk: 6
burrow: 1
burrow: 1,50
senses:
darkvision: 9
languages:

View file

@ -15,7 +15,7 @@ abilityScores:
ac:
armorType: null
movement:
walk: 1
walk: 1,50
fly: 9
senses:
blindsight: 18

View file

@ -16,6 +16,7 @@ savingThrows:
- "for"
- "sag"
- "cha"
customSavingThrows: "For +7, Sag +5, Cha +3"
ac:
armorType: "custom"
value: "13"

View file

@ -19,7 +19,7 @@ skills:
- name: "perception"
isExpert: true
movement:
walk: 1
walk: 1,50
fly: 18
senses:
darkvision: 36

View file

@ -20,7 +20,7 @@ skills:
- name: "perception"
isExpert: true
movement:
walk: 1
walk: 1,50
fly: 18
senses:
darkvision: 36

View file

@ -15,7 +15,7 @@ abilityScores:
ac:
armorType: null
movement:
walk: 4
walk: 4,50
senses:
blindsight: 18
conditionImmunities:

View file

@ -20,7 +20,8 @@ skills:
invalid: true
value: 4
movement:
fly: 1
walk: 1,50
fly: 9
senses:
blindsight: 18
conditionImmunities:

View file

@ -26,7 +26,7 @@ skills:
isExpert: true
movement:
walk: 9
burrow: 4
burrow: 4,50
swim: 9
fly: 18
senses:

View file

@ -26,7 +26,7 @@ skills:
isExpert: true
movement:
walk: 9
burrow: 4
burrow: 4,50
fly: 18
senses:
blindsight: 3

View file

@ -26,7 +26,7 @@ skills:
isExpert: true
movement:
walk: 9
burrow: 4
burrow: 4,50
fly: 18
senses:
blindsight: 3

View file

@ -17,7 +17,7 @@ ac:
armorType: "armure d'écailles"
hasShield: true
movement:
walk: 7,5
walk: 7,50
senses:
darkvision: 36
damageTypeResistances:

View file

@ -23,7 +23,7 @@ skills:
invalid: true
value: 4
movement:
walk: 7
walk: 7,50
senses:
languages:
- "deux langues au choix"

View file

@ -16,7 +16,7 @@ abilityScores:
ac:
armorType: null
movement:
walk: 4
walk: 4,50
senses:
darkvision: 36
conditionImmunities:

View file

@ -20,7 +20,7 @@ skills:
- name: "discretion"
isExpert: true
movement:
walk: 4
walk: 4,50
senses:
darkvision: 18
conditionImmunities:

View file

@ -16,7 +16,7 @@ abilityScores:
ac:
armorType: null
movement:
walk: 1
walk: 1,50
senses:
blindsight: 9
conditionImmunities:

View file

@ -20,7 +20,7 @@ skills:
- name: "perception"
isExpert: true
movement:
walk: 1
walk: 1,50
swim: 9
senses:
darkvision: 9

View file

@ -19,7 +19,7 @@ skills:
- name: "discretion"
- name: "perception"
movement:
walk: 4
walk: 4,50
fly: 18
senses:
blindsight: 3

View file

@ -24,6 +24,8 @@ movement:
walk: 9
senses:
blindsight: 9
customBlindSight: "9 m ou 3 m s'il est assourdi (aveugle au-delà de cette distance)"
customPassivePerception: 12
conditionImmunities:
- "aveugle"
languages: