Skip to content

Commit

Permalink
eventinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
NathaTerrien committed Sep 17, 2017
1 parent 8e4526f commit 48550cc
Show file tree
Hide file tree
Showing 37 changed files with 1,446 additions and 1,506 deletions.
5 changes: 5 additions & 0 deletions Antika/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ Désolé de cet inconvénient mais il n'y a pas d'autres moyens dans Roll20 de r

# Notes de version

## v1.1 (2017-09-27)

Optimisation technique.


## v1.0 (2016-09-27)

Création de la feuille.
6 changes: 2 additions & 4 deletions Antika/antika.htm
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@
});
});
});
on("change:UBRIS", function(){
getAttrs(["UBRIS"], function(values) {
on("change:UBRIS", function(eventinfo){
var newval=0;
var carac=parseInt(values.UBRIS) || 0;
var carac=parseInt(eventinfo.newValue) || 0;
if (carac > 9) {
newval=9;
} else {
Expand All @@ -49,7 +48,6 @@
setAttrs({
UBRISJET: newval
});
});
});
</script>
<div class="sheet-bgmain">
Expand Down
6 changes: 5 additions & 1 deletion Barbarians Of Lemuria - Mythic/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Graphic design is based on the french edition.
Background image courtesy of [Emmanuel Roudier](http://roudier-neandertal.blogspot.fr/), lead artist on BoL:Mythic, french edition.

# Current version
1.4 [Screenshot](bolm.jpg)
1.5 [Screenshot](bolm.jpg)

The sheet has integrated rolls (with chat roll templates).
Every roll as a PC or NPC asks for, at least, a modifier (default 0).
Expand All @@ -23,6 +23,10 @@ Due to some temporary technical translation limitations of Roll20, the french ve

# Release notes

## v1.5 (2017-09-17)

* Technical optipisation

## v1.4 (2017-06-06)

* Updated (official) German translation, by Marc M. (Roll20 Id 4134)
Expand Down
42 changes: 19 additions & 23 deletions Barbarians Of Lemuria - Mythic/bolm.htm
Original file line number Diff line number Diff line change
Expand Up @@ -83,30 +83,26 @@
});
});
});
on("change:armourhelmet", function(){
getAttrs(["armourhelmet"], function(values) {
var vhelmet = parseInt(values.armourhelmet) || 0;
var vinitpen = 0;
if (vhelmet == 1) {
vinitpen = -1;
}
setAttrs({
armourinit: vinitpen
});
});
on("change:armourhelmet", function(eventinfo){
var vhelmet = parseInt(eventinfo.newValue) || 0;
var vinitpen = 0;
if (vhelmet == 1) {
vinitpen = -1;
}
setAttrs({
armourinit: vinitpen
});
on("change:strength", function(){
getAttrs(["strength"], function(values) {
var str = parseInt(values.strength) || 0;
var half = 0;
if (str < 0 ) {
half = str;
} else {
half = Math.floor(str/2);
}
setAttrs({
strengthhalf: half
});
});
on("change:strength", function(eventinfo){
var str = parseInt(eventinfo.newValue) || 0;
var half = 0;
if (str < 0 ) {
half = str;
} else {
half = Math.floor(str/2);
}
setAttrs({
strengthhalf: half
});
});
on('sheet:opened',function(){
Expand Down
2 changes: 1 addition & 1 deletion Barbarians Of Lemuria - Mythic/sheet.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"authors": "Natha",
"roll20userid": "75857",
"preview": "bolm.jpg",
"instructions": "Character sheet for Barbarians of Lemuria - Mythic Edition, in [english](http://barbariansoflemuria.webs.com/), [french](http://www.ludospherik.fr/content/14-barbarians-of-lemuria) and [german](http://truant.com/spiele/rollenspiele). [Readme](https://github.com/Roll20/roll20-character-sheets/blob/master/Barbarians%20Of%20Lemuria%20-%20Mythic/ReadMe.md). v1.4 (2017-06-06)."
"instructions": "Character sheet for Barbarians of Lemuria - Mythic Edition, in [english](http://barbariansoflemuria.webs.com/), [french](http://www.ludospherik.fr/content/14-barbarians-of-lemuria) and [german](http://truant.com/spiele/rollenspiele). [Readme](https://github.com/Roll20/roll20-character-sheets/blob/master/Barbarians%20Of%20Lemuria%20-%20Mythic/ReadMe.md). v1.5 (2017-09-17)."
,"tipeee":"https://www.tipeee.com/natharoll20"
}
95 changes: 45 additions & 50 deletions CypherSystem/CypherSystem.htm
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
<!-- ******* SHEET WORKERS **************** -->
<script type="text/worker">
on("change:sheetusebonus", function(eventinfo) {
if(eventinfo.newValue == "1"){
setAttrs({
rollQstBonus: "?{Bonus|0|1|2|-1|-2}",
rollVarBonus: 0
});
} else {
setAttrs({
rollQstBonus: 0,
rollVarBonus: 0
});
};
});
on("change:sheetusecost", function(eventinfo) {
if(eventinfo.newValue == "1"){
setAttrs({
rollQstCost: "?{Cost|0}",
rollVarCost: 0
});
} else {
setAttrs({
rollQstCost: 0,
rollVarCost: 0
});
};
});
on("change:sheetuseasset", function(eventinfo) {
if(eventinfo.newValue == "1"){
setAttrs({
rollQstAsset: "?{Asset|0|1|2}",
rollVarAsset: 0
});
} else {
setAttrs({
rollQstAsset: 0,
rollVarAsset: 0
});
};
});
</script>
<!-- ******* PC **************** -->
<div style="display:inline-block;font-size:11px;color: #888888;text-align:left;font-weight: bold;">Style:</div>
<input type="radio" name="attr_sheetStyle" value="0" class="sheet-styleCypher" checked="checked" title="Cypher System" /><span>Cypher System</span>
Expand All @@ -9,56 +51,9 @@
<input type="radio" name="attr_sheetRolls" value="1" class="sheet-macroRoll" title="Roll using roll queries for parameters" /><span>Roll Queries</span>
<div style="display:inline-block;font-size:11px;color: #888888;text-align:left;font-weight: bold;margin-left:0px;">- Use:</div>
<input type="checkbox" name="attr_sheetUseAsset" value="1" class="sheet-chkUseAsset" title="Ask for/Use assets in attributes, skills and attacks rolls" /><span>Assets</span>
<input type="checkbox" name="attr_sheetUseBonus" value="1" class="sheet-chkUseBonus" title="Ask for/Use roll bonus in attributes, skills and attacks rolls" /><span>bonus</span>
<input type="checkbox" name="attr_sheetUseBonus" value="1" class="sheet-chkUseBonus" title="Ask for/Use roll bonus in attributes, skills and attacks rolls" /><span>Bonus</span>
<input type="checkbox" name="attr_sheetUseCost" value="1" class="sheet-chkUseCost" title="Ask for/Use cost in attributes and skills rolls" /><span>Costs</span>
<div style="display:inline-block;font-size:11px;color: #888888;text-align:left;margin-left:0px;">- v1.6 (2016-02-21)</div>
<script type="text/worker">
on("change:sheetusebonus", function() {
getAttrs(["sheetUseBonus"], function(values) {
if(values.sheetUseBonus == "1"){
setAttrs({
rollQstBonus: "?{Bonus|0|1|2|-1|-2}",
rollVarBonus: 0
});
} else {
setAttrs({
rollQstBonus: 0,
rollVarBonus: 0
});
};
});
});
on("change:sheetusecost", function() {
getAttrs(["sheetUseCost"], function(values) {
if(values.sheetUseCost == "1"){
setAttrs({
rollQstCost: "?{Cost|0}",
rollVarCost: 0
});
} else {
setAttrs({
rollQstCost: 0,
rollVarCost: 0
});
};
});
});
on("change:sheetuseasset", function() {
getAttrs(["sheetUseAsset"], function(values) {
if(values.sheetUseAsset == "1"){
setAttrs({
rollQstAsset: "?{Asset|0|1|2}",
rollVarAsset: 0
});
} else {
setAttrs({
rollQstAsset: 0,
rollVarAsset: 0
});
};
});
});
</script>
<div style="display:inline-block;font-size:11px;color: #888888;text-align:left;margin-left:0px;">- v1.7 (2017-09-17)</div>
<div class="sheet-main">
<div style="display: none;"> <!-- HIDDEN Rolls and Calculations -->
<!-- Using the Action Section -->
Expand Down Expand Up @@ -621,7 +616,7 @@
value="&{template:cyphBasicRoll} {{charid=@{character_id}}} {{stat=intellect}} {{diceRoll=[[1d20cs>17cf1]]}} {{attribute=@{atkintelname}}} {{attrEdge=@{intellectedge}}} {{difficulty=[[@{rollQstDiff}]]}} {{effortRoll=[[@{rollQstRollEff}]]}} {{assets=[[@{rollQstAsset}]]}} {{bonusToRoll=[[@{rollQstBonus}]]}} {{statExpense=[[@{atkintelcost}]]}} {{effortDmg=[[@{rollQstRollDmg}]]}} {{targNum=[[@{targNumQst}]]}} {{finalDiff=[[@{rollQstDiff}-(1*@{rollQstAsset})-(1*@{rollQstRollEff})-(1*@{atkintellvl})-(1*@{atkintelmod})]]}} {{targNumRoll=[[(3*@{rollQstDiff})-(3*@{rollQstAsset})-(3*@{rollQstRollEff})-(3*@{atkintellvl})-(3*@{atkintelmod})-(1*@{rollQstBonus})]]}} {{totalCost=[[@{effortCostQst}+@{atkintelcost}-@{intellectedge}]]}} {{effortCost=[[@{effortCostQst}]]}} {{bonusDmg=[[@{atkinteldmg}+@{rollQstRollDmg}*3]]}} {{skilled=[[@{atkintellvl}]]}} {{atkmod=[[@{atkintelmod}]]}}"
name="roll_macroIntelAttack"></button>
<input type="text" style="width: 305px;font-weight: bold;" name="attr_atkintelname" title="Attack: weapon or power/ability name" placeholder="Attack" />
</div>
</div>
<div class="sheet-text2" style="text-align: right;margin-bottom: 2px;">
<button type="roll" name="ShowIntelAttack" class="sheet-btDesc" title="Show in chat" value="&{template:cyphDesc} {{name=@{atkintelname}}} {{type=Attack}} {{description=Mod:@{atkintelmod}, Damage:@{atkinteldmg}, Skilled:@{atkintellvl}, Cost:@{atkintelcost}}}"><img src="https://s3.amazonaws.com/files.d20.io/images/13924213/_SbpEpVjj9V7Dow_GKKYhQ/med.png?1448153028" style="width: 16px;height:16px;"/></button>
Mod:
Expand Down
5 changes: 4 additions & 1 deletion CypherSystem/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Character sheet, with integrated rolls and optional API script, for the Cypher S
It can look like and be used as a sheet for _Numen&eacute;ra_ (except the armor stat cost, as per the CSR rule) or _The Strange_ (except the armor stat cost thing also, and the recursion management which requires several characters/sheets, one per recursion).

# Current version:
Version 1.6 (February 21st, 2016).
Version 1.7 (September 17th, 2017).

* Screenshot [Generic Cypher System style](CypherSystem.png)
* Screenshot [Numenera style](CypherSystem_style_Numenera.png)
Expand Down Expand Up @@ -42,6 +42,9 @@ Set up the API script:

# Release Notes

## Release 1.7 (September 17th, 2017)
Technical optimisation.

## Release 1.6 (February 21st, 2016)
Cosmetic changes, to ease access to the delete button on repeatable sections, and diminish repeatable sections line height.

Expand Down
2 changes: 1 addition & 1 deletion CypherSystem/sheet.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"authors": "Natha",
"roll20userid": "75857",
"preview": "CypherSystem.png",
"instructions": "v1.6 (2015-02-21) To set up a token that's linked to the character sheet, and optionally for API scripts to enhance rolls, check the [README](https://github.com/Roll20/roll20-character-sheets/blob/master/CypherSystem/ReadMe.md)."
"instructions": "v1.7 (2017-09-17) To set up a token that's linked to the character sheet, and optionally for API scripts to enhance rolls, check the [README](https://github.com/Roll20/roll20-character-sheets/blob/master/CypherSystem/ReadMe.md)."
,"tipeee":"https://www.tipeee.com/natharoll20"
}
91 changes: 43 additions & 48 deletions CypherSystemFrench/CypherSystem.htm
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
<!-- ******* SHEET WORKERS **************** -->
<script type="text/worker">
on("change:sheetusebonus", function(eventinfo) {
if(eventinfo.newValue == "1"){
setAttrs({
rollQstBonus: "?{Bonus|0|1|2|-1|-2}",
rollVarBonus: 0
});
} else {
setAttrs({
rollQstBonus: 0,
rollVarBonus: 0
});
};
});
on("change:sheetusecost", function(eventinfo) {
if(eventinfo.newValue == "1"){
setAttrs({
rollQstCost: "?{Coût|0}",
rollVarCost: 0
});
} else {
setAttrs({
rollQstCost: 0,
rollVarCost: 0
});
};
});
on("change:sheetuseasset", function(eventinfo) {
if(eventinfo.newValue == "1"){
setAttrs({
rollQstAsset: "?{Atout|0|1|2}",
rollVarAsset: 0
});
} else {
setAttrs({
rollQstAsset: 0,
rollVarAsset: 0
});
};
});
</script>
<!-- ******* PC **************** -->
<div style="display:inline-block;font-size:11px;color: #888888;text-align:left;font-weight: bold;">Style:</div>
<input type="radio" name="attr_sheetStyle" value="0" class="sheet-styleCypher" checked="checked" title="Cypher System" /><span>Cypher System</span>
Expand All @@ -10,54 +52,7 @@
<div style="display:inline-block;font-size:11px;color: #888888;text-align:left;font-weight: bold;margin-left:0px;">- Utiliser :</div>
<input type="checkbox" name="attr_sheetUseAsset" value="1" class="sheet-chkUseAsset" title="Demander / Utiliser les Atouts dans les jets de Caractéristiques, Compétences et Attaques" /><span>Atouts</span>
<input type="checkbox" name="attr_sheetUseBonus" value="1" class="sheet-chkUseBonus" title="Demander / Utiliser les Bonus dans les jets de Caractéristiques, Compétences et Attaques" /><span>Bonus</span>
<input type="checkbox" name="attr_sheetUseCost" value="1" class="sheet-chkUseCost" title="Demander / Utiliser les Coûts dans les jets de Caractéristiques et Compétences" /><span>Coûts</span><div style="display:inline-block;font-size:11px;color: #888888;text-align:left;margin-left:0px;">- v1.6 (2016-02-21)</div>
<script type="text/worker">
on("change:sheetusebonus", function() {
getAttrs(["sheetUseBonus"], function(values) {
if(values.sheetUseBonus == "1"){
setAttrs({
rollQstBonus: "?{Bonus|0|1|2|-1|-2}",
rollVarBonus: 0
});
} else {
setAttrs({
rollQstBonus: 0,
rollVarBonus: 0
});
};
});
});
on("change:sheetusecost", function() {
getAttrs(["sheetUseCost"], function(values) {
if(values.sheetUseCost == "1"){
setAttrs({
rollQstCost: "?{Coût|0}",
rollVarCost: 0
});
} else {
setAttrs({
rollQstCost: 0,
rollVarCost: 0
});
};
});
});
on("change:sheetuseasset", function() {
getAttrs(["sheetUseAsset"], function(values) {
if(values.sheetUseAsset == "1"){
setAttrs({
rollQstAsset: "?{Atouts|0|1|2}",
rollVarAsset: 0
});
} else {
setAttrs({
rollQstAsset: 0,
rollVarAsset: 0
});
};
});
});
</script>
<input type="checkbox" name="attr_sheetUseCost" value="1" class="sheet-chkUseCost" title="Demander / Utiliser les Coûts dans les jets de Caractéristiques et Compétences" /><span>Coûts</span><div style="display:inline-block;font-size:11px;color: #888888;text-align:left;margin-left:0px;">- v1.7 (2017-09-17)</div>
<div class="sheet-main">
<div style="display: none;"> <!-- HIDDEN Rolls and Calculations -->
<input type="hidden" name="attr_targNum" value="@{rollVarDiff}*3" />
Expand Down
5 changes: 4 additions & 1 deletion CypherSystemFrench/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Elle est aussi utilisable (et styl&eacute;e) pour _Numen&eacute;ra_ (modulo la g
La VF s'appuie sur la traduction de Numen&eacute;ra par Black Book Editions.

# Version courante :
Version 1.6 (21 Février 2016) :
Version 1.7 (17 Septembre 2017) :

* Capture d'&eacute;cran [style Cypher System g&eacute;n&eacute;rique](CypherSystem.png)
* Capture d'&eacute;cran [style Numen&eacute;ra](CypherSystem_style_Numenera.png)
Expand Down Expand Up @@ -53,6 +53,9 @@ Le script API permet que l'&eacute;tat du personnage soit automatiquement mis &a

# Notes de version

## Version 1.7 (17 Septembre 2017)
Optimisation technique.

## Version 1.6 (21 Février 2016)
Changements esthétiques, pour faciliter l'accès au bouton de suppression de ligne répétable, et diminuer la hauteur des lignes répétables.

Expand Down
2 changes: 1 addition & 1 deletion CypherSystemFrench/sheet.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"authors": "Natha",
"roll20userid": "75857",
"preview": "CypherSystem.png",
"instructions": "v1.6 (2015-02-21) Lisez le ficher [README](https://github.com/Roll20/roll20-character-sheets/blob/master/CypherSystemFrench/ReadMe.md) pour mettre en place un pion avec la feuille de personnage, et &eacute;ventuellement ajouter les scripts API accompagnant la fiche de personnage."
"instructions": "v1.7 (2017-09-17) Lisez le ficher [README](https://github.com/Roll20/roll20-character-sheets/blob/master/CypherSystemFrench/ReadMe.md) pour mettre en place un pion avec la feuille de personnage, et &eacute;ventuellement ajouter les scripts API accompagnant la fiche de personnage."
,"tipeee":"https://www.tipeee.com/natharoll20"
}
6 changes: 5 additions & 1 deletion DungeonWorldFrench/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ Feuille de Personnage en français pour [Dungeon World V1 et V2](http://dungeonw
Basée sur la feuille VO de Willem den Besten (Morenim) et Devindra Payment (@Ardnived) ... et considérablement modifiée.

# Version courante
3.3 [Capture d'écran](dwfr.png)
3.4 [Capture d'écran](dwfr.png)

# Notes de version

## v3.4 (2017-09-17)

* Optimisation technique

## v3.3 (2017-02-18)

* Correction d'une anomalie occasionnelle dans la totalisation automatique de l'encombrement
Expand Down
Loading

0 comments on commit 48550cc

Please sign in to comment.