Implemented Hero-dialog editing of features

This commit is contained in:
Thaum
2015-01-30 10:14:46 +00:00
parent 848902c358
commit 37e8831e0c
14 changed files with 242 additions and 105 deletions

View File

@@ -223,8 +223,8 @@ var attributeBase = function(charId, statName){
//start with the highest base value
_.each(effects.base, function(effect){
var efv = evaluateEffect(charId, effect)
if (effect.value > value){
value = effect.value;
if (efv > value){
value = efv;
}
});