diff --git a/rpg-docs/client/views/character/stats/attributeDialog/attributeDialog.js b/rpg-docs/client/views/character/stats/attributeDialog/attributeDialog.js index 0db11ffc..5e588a98 100644 --- a/rpg-docs/client/views/character/stats/attributeDialog/attributeDialog.js +++ b/rpg-docs/client/views/character/stats/attributeDialog/attributeDialog.js @@ -106,27 +106,27 @@ Template.attributeDialogView.helpers({ }, baseEffects: function(){ return Effects.find( - {charId: this.charId, stat: this.statName, operation: "base"} + {charId: this.charId, stat: this.statName, operation: "base", enabled: true} ); }, addEffects: function(){ return Effects.find( - {charId: this.charId, stat: this.statName, operation: "add"} + {charId: this.charId, stat: this.statName, operation: "add", enabled: true} ); }, mulEffects: function(){ return Effects.find( - {charId: this.charId, stat: this.statName, operation: "mul"} + {charId: this.charId, stat: this.statName, operation: "mul", enabled: true} ); }, minEffects: function(){ return Effects.find( - {charId: this.charId, stat: this.statName, operation: "min"} + {charId: this.charId, stat: this.statName, operation: "min", enabled: true} ); }, maxEffects: function(){ return Effects.find( - {charId: this.charId, stat: this.statName, operation: "max"} + {charId: this.charId, stat: this.statName, operation: "max", enabled: true} ); }, attributeBase: function(){ diff --git a/rpg-docs/client/views/character/stats/skillDialog/skillDialog.js b/rpg-docs/client/views/character/stats/skillDialog/skillDialog.js index cacff4bc..5cd1658e 100644 --- a/rpg-docs/client/views/character/stats/skillDialog/skillDialog.js +++ b/rpg-docs/client/views/character/stats/skillDialog/skillDialog.js @@ -132,6 +132,7 @@ Template.skillDialogView.helpers({ charId: this.charId, stat: this.skillName, operation: "add", + enabled: true, }); }, mulEffects: function(){ @@ -139,6 +140,7 @@ Template.skillDialogView.helpers({ charId: this.charId, stat: this.skillName, operation: "mul", + enabled: true, }); }, minEffects: function(){ @@ -146,6 +148,7 @@ Template.skillDialogView.helpers({ charId: this.charId, stat: this.skillName, operation: "min", + enabled: true, }); }, maxEffects: function(){ @@ -153,6 +156,7 @@ Template.skillDialogView.helpers({ charId: this.charId, stat: this.skillName, operation: "max", + enabled: true, }); }, advEffects: function(){ @@ -160,6 +164,7 @@ Template.skillDialogView.helpers({ charId: this.charId, stat: this.skillName, operation: "advantage", + enabled: true, }); }, dadvEffects: function(){ @@ -167,6 +172,7 @@ Template.skillDialogView.helpers({ charId: this.charId, stat: this.skillName, operation: "disadvantage", + enabled: true, }); }, conditionalEffects: function(){ @@ -174,6 +180,7 @@ Template.skillDialogView.helpers({ charId: this.charId, stat: this.skillName, operation: "conditional", + enabled: true, }); }, ability: function(){