Fixed bug with skillMod calculation

This commit is contained in:
Thaum
2015-01-28 12:12:43 +00:00
parent 7b8fec8e8a
commit 848902c358
2 changed files with 3 additions and 6 deletions

View File

@@ -349,7 +349,7 @@ Characters.helpers({
var mod = +getMod(ability)
//multiply proficiency bonus by largest value in proficiency array
var prof = this.proficiency(skill);
var prof = this.proficiency(skillName);
//add multiplied proficiency bonus to modifier
mod += prof * this.attributeValue("proficiencyBonus");