Call of Cthulhu 7th Ed french translation
Call of Cthulhu 7th Ed french translation.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# L'Appel de Cthulhu 7ième édition
|
||||
|
||||
Traduction et adaptation française de la feuille de personnage VO créée par Matthew Carpenter.
|
||||
Traduction de Pierre D., mise en ligne par Natha.
|
||||
|
||||
Vous pouvez noter l'absence des valeurs majeures et extrêmes. Celles-ci ont été implémentées dans le jet de dés lui-même.
|
||||
Quand vous utilisez le bouton de jet, vous voyez, dans le chat, un jet "Valeur ordinaire/majeure/extreme". Comparez la valeur de la caractéristique ou la compétence à ces résultats pour déterminer la réussite (ou l'échec).
|
||||
Pour les compétences en armes, sélectionnez une des compétences listées pour lancer votre test en arme. Vous pouvez sélectionner une des dix compétences customisée comme compétence de base.
|
||||
Pour les dommages des armes vous pouvez spécifier un "+0", "+1/2db" or "+db.". Utiliser cela pour inclure votre bonus en dommage dans le jet de dommage ou non.
|
||||
|
||||
Vous pouvez trouver un script API qui correspond à cette feuille : [extended_autocalc.js](extended_autocalc.js). Ceci va permettre le calcul automatique des bonus aux dommages et de la carrure.
|
||||
|
||||
# Version courante
|
||||
1.0 [Screenshot](coc_7th_ed.png)
|
||||
|
||||
# Notes de version
|
||||
|
||||
##v1.0 (2015-12-28)
|
||||
|
||||
Création.
|
||||
@@ -0,0 +1,180 @@
|
||||
input[type=number]::-webkit-inner-spin-button,
|
||||
input[type=number]::-webkit-outer-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
select {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Tweak repeating section buttons so they have a bottom margin and dont overflow when in edit mode. */
|
||||
div[class^="repcontrol"] {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
div[class="repcontainer editmode"] ~ div[class^="repcontrol"] button[class="btn repcontrol_add"] {
|
||||
display: inline-block!important;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
h4.sheet-section-head {
|
||||
background-color: black;
|
||||
color: white;
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
div.sheet-section {
|
||||
border: 1px solid black;
|
||||
padding: 1%;
|
||||
margin: 0 0 1% 0;
|
||||
}
|
||||
|
||||
table td.sheet-attr {
|
||||
width: 13.33%;
|
||||
height: 58px;
|
||||
}
|
||||
|
||||
table td.sheet-attr-label {
|
||||
height: 58px;
|
||||
font-size: 120%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
input[type="text"].sheet-attr-input {
|
||||
width: 54px;
|
||||
height: 58px;
|
||||
font-size: 200%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
table td.sheet-attr-roll {
|
||||
height: 58px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
input.sheet-secondary-attr-input {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
input[type="number"].sheet-secondary-attr-input {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
table td.sheet-skill-label {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
input[type="text"].sheet-skill-input {
|
||||
width: 30px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
input[type="number"].sheet-skill-input {
|
||||
width: 30px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
td.sheet-otherskill-reminder {
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
texarea.sheet-backstory-box {
|
||||
height: 75px;
|
||||
}
|
||||
|
||||
|
||||
/* Roll Templates */
|
||||
.sheet-rolltemplate-coc table {
|
||||
width: 100%;
|
||||
border: 1px solid black;
|
||||
color: black;
|
||||
background: #FFFFFF;
|
||||
}
|
||||
.sheet-rolltemplate-coc caption {
|
||||
text-align: center;
|
||||
background: black;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
padding: 2px;
|
||||
border: 1px solid black;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
.sheet-rolltemplate-coc td {
|
||||
padding: 2px;
|
||||
border-bottom: 1px solid black;
|
||||
}
|
||||
.sheet-rolltemplate-coc td.sheet-template_label {
|
||||
font-weight: bold;
|
||||
}
|
||||
.sheet-rolltemplate-coc td.sheet-template_value {
|
||||
text-align: center;
|
||||
}
|
||||
.sheet-rolltemplate-coc .inlinerollresult {
|
||||
display: inline-block;
|
||||
min-width: 1.5em;
|
||||
text-align: center;
|
||||
border: 2px solid black;
|
||||
background: #BEBEBE;
|
||||
}
|
||||
.sheet-rolltemplate-coc .inlinerollresult.fullcrit {
|
||||
border: 2px solid black;
|
||||
background: #BEBEBE;
|
||||
}
|
||||
.sheet-rolltemplate-coc .inlinerollresult.fullfail {
|
||||
border: 2px solid black;
|
||||
background: #BEBEBE;
|
||||
}
|
||||
.sheet-rolltemplate-coc .inlinerollresult.importantroll {
|
||||
border: 2px solid black;
|
||||
background: #BEBEBE;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-coc-attack table {
|
||||
width: 100%;
|
||||
border: 1px solid black;
|
||||
color: black;
|
||||
background: #FFFFFF;
|
||||
}
|
||||
.sheet-rolltemplate-coc-attack caption {
|
||||
text-align: center;
|
||||
background: black;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
padding: 2px;
|
||||
border: 1px solid black;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
.sheet-rolltemplate-coc-attack td {
|
||||
padding: 2px;
|
||||
border-bottom: 1px solid black;
|
||||
}
|
||||
.sheet-rolltemplate-coc-attack td.sheet-template_label {
|
||||
font-weight: bold;
|
||||
}
|
||||
.sheet-rolltemplate-coc-attack td.sheet-template_value {
|
||||
text-align: center;
|
||||
}
|
||||
.sheet-rolltemplate-coc-attack .inlinerollresult {
|
||||
display: inline-block;
|
||||
min-width: 1.5em;
|
||||
text-align: center;
|
||||
border: 2px solid black;
|
||||
background: #BEBEBE;
|
||||
}
|
||||
.sheet-rolltemplate-coc-attack .inlinerollresult.fullcrit {
|
||||
border: 2px solid black;
|
||||
background: #BEBEBE;
|
||||
}
|
||||
.sheet-rolltemplate-coc-attack .inlinerollresult.fullfail {
|
||||
border: 2px solid black;
|
||||
background: #BEBEBE;
|
||||
}
|
||||
.sheet-rolltemplate-coc-attack .inlinerollresult.importantroll {
|
||||
border: 2px solid black;
|
||||
background: #BEBEBE;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
After Width: | Height: | Size: 257 KiB |
@@ -0,0 +1,105 @@
|
||||
// Fix buggy issues, thanks Steve D., https://app.roll20.net/forum/post/1462045/help-with-setting-attribute-values
|
||||
createObjFix = function() {
|
||||
//Create Object Fix - Firebase.set failed
|
||||
|
||||
var obj = createObj.apply(this, arguments);
|
||||
var id = obj.id;
|
||||
var characterID = obj.get('characterid');
|
||||
var type = obj.get('type');
|
||||
|
||||
if (obj && !obj.fbpath && obj.changed) {
|
||||
obj.fbpath = obj.changed._fbpath.replace(/([^\/]*\/){4}/, "/");
|
||||
} else if (obj && !obj.changed && type == 'attribute') {
|
||||
//fix for dynamic attribute after character created in game
|
||||
// /char-attribs/char/characterID/attributeID
|
||||
obj.fbpath = '/char-attribs/char/'+ characterID +'/'+ id;
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
||||
// Addes don't count as changes so we need to handle the first change here
|
||||
on("add:attribute", function(obj) {
|
||||
var attributeName = obj.get("name");
|
||||
|
||||
if (attributeName == "str" || attributeName == "siz") {
|
||||
setDamageBonusAndBuild(obj.get('_characterid'));
|
||||
}
|
||||
});
|
||||
|
||||
// Handle actual changes
|
||||
on("change:attribute", function(obj) {
|
||||
var attributeName = obj.get("name");
|
||||
|
||||
if (attributeName == "str" || attributeName == "siz") {
|
||||
setDamageBonusAndBuild(obj.get('_characterid'));
|
||||
}
|
||||
});
|
||||
|
||||
function setDamageBonusAndBuild(characterID) {
|
||||
var damageBonus = findObjs({_type: 'attribute', _characterid: characterID, name: 'damage_bonus'})[0];
|
||||
if (! damageBonus) {
|
||||
var damageBonus = createObjFix('attribute', {
|
||||
name: 'damage_bonus',
|
||||
characterid: characterID,
|
||||
current: '0'
|
||||
});
|
||||
}
|
||||
|
||||
var build = findObjs({_type: 'attribute', _characterid: characterID, name: 'build'})[0];
|
||||
if (! build) {
|
||||
var build = createObjFix('attribute', {
|
||||
name: 'build',
|
||||
characterid: characterID,
|
||||
current: '0'
|
||||
});
|
||||
}
|
||||
|
||||
var str = parseInt(getAttrByName(characterID, "str"));
|
||||
var siz = parseInt(getAttrByName(characterID, "siz"));
|
||||
var total = str + siz;
|
||||
|
||||
|
||||
if (total >= 525) {
|
||||
damageBonus.set({current: '10d6'});
|
||||
build.set({current: '+11'});
|
||||
} else if (total >= 485) {
|
||||
damageBonus.set({current: '9d6'});
|
||||
build.set({current: '+10'});
|
||||
} else if (total >= 445) {
|
||||
damageBonus.set({current: '8d6'});
|
||||
build.set({current: '+9'});
|
||||
} else if (total >= 405) {
|
||||
damageBonus.set({current: '7d6'});
|
||||
build.set({current: '+8'});
|
||||
} else if (total >= 365) {
|
||||
damageBonus.set({current: '6d6'});
|
||||
build.set({current: '+7'});
|
||||
} else if (total >= 325) {
|
||||
damageBonus.set({current: '5d6'});
|
||||
build.set({current: '+6'});
|
||||
} else if (total >= 285) {
|
||||
damageBonus.set({current: '4d6'});
|
||||
build.set({current: '+5'});
|
||||
} else if (total >= 245) {
|
||||
damageBonus.set({current: '3d6'});
|
||||
build.set({current: '+4'});
|
||||
} else if (total >= 205) {
|
||||
damageBonus.set({current: '2d6'});
|
||||
build.set({current: '+3'});
|
||||
} else if (total >= 165) {
|
||||
damageBonus.set({current: '1d6'});
|
||||
build.set({current: '+2'});
|
||||
} else if (total >= 125) {
|
||||
damageBonus.set({current: '1d4'});
|
||||
build.set({current: '+1'});
|
||||
} else if (total >= 85) {
|
||||
damageBonus.set({current: '0'});
|
||||
build.set({current: '0'});
|
||||
} else if (total >= 65) {
|
||||
damageBonus.set({current: '-2'});
|
||||
build.set({current: '-1'});
|
||||
} else {
|
||||
damageBonus.set({current: '-1'});
|
||||
build.set({current: '-2'});
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"html": "coc_7th_ed.html",
|
||||
"css": "coc_7th_ed.css",
|
||||
"authors": "Matthew Carpenter, Pierre D., Natha",
|
||||
"roll20userid": "103705,1190203,75857",
|
||||
"preview": "coc_7th_ed.png",
|
||||
"instructions": "Traduction et adaptation française de la feuille Call of Cthulhu 7ième édition. v1.0 (2015-12-28). Vous pouvez noter l'absence des valeurs majeures et extrêmes. Celles-ci ont été implémentées dans le jet de dés lui-même. Quand vous utilisez le bouton de jet, vous voyez, dans le chat, un jet “Valeur ordinaire/majeure/extreme. Comparez la valeur de la caractéristique ou la compétence à ces résultats pour déterminer la réussite (ou l'échec). Pour les compétences en armes, sélectionnez une des compétences listées pour lancer votre test en arme. Vous pouvez sélectionner une des dix compétences customisée comme compétence de base. Pour les dommages des armes vous pouvez spécifier un \"+0\", \"+1/2db\" or \"+db.\". Utiliser cela pour inclure votre bonus en dommage dans le jet de dommage ou non. \n\nVous pouvez trouver un script API qui correspond à cette feuille à cette adresse: https://github.com/Roll20/roll20-character-sheets/blob/master/Call_of_Cthulhu_7th_Ed/extended_autocalc.js. Ceci va permettre le calcul automatique des bonus aux dommages et de la carrure."
|
||||
}
|
||||
Reference in New Issue
Block a user