diff --git a/rpg-docs/client/views/character/stats/hitDice/hitDice.html b/rpg-docs/client/views/character/stats/hitDice/hitDice.html index ac1b2af3..0cbfbab8 100644 --- a/rpg-docs/client/views/character/stats/hitDice/hitDice.html +++ b/rpg-docs/client/views/character/stats/hitDice/hitDice.html @@ -21,7 +21,7 @@ {{characterCalculate "attributeValue" ../_id name}}
- d{{diceNum}} {{characterCalculate "abilityMod" ../_id "constitution"}} + d{{diceNum}} {{conMod}}
diff --git a/rpg-docs/client/views/character/stats/hitDice/hitDice.js b/rpg-docs/client/views/character/stats/hitDice/hitDice.js index e6cd38e5..7399309d 100644 --- a/rpg-docs/client/views/character/stats/hitDice/hitDice.js +++ b/rpg-docs/client/views/character/stats/hitDice/hitDice.js @@ -8,6 +8,11 @@ Template.hitDice.helpers({ var value = Characters.calculate.attributeValue(this.char._id, this.name); return value <= 0; }, + conMod: function(){ + return signedString( + Characters.calculate.abilityMod(this.char._id, "constitution") + ); + }, }); Template.hitDice.events({