Removed references to old calculations
This commit is contained in:
@@ -40,7 +40,6 @@ evaluate = function(charId, string){
|
||||
var result = math.eval(string);
|
||||
return result;
|
||||
} catch (e){
|
||||
console.log("Failed to evaluate ", string);
|
||||
return string;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -98,9 +98,9 @@ trackEncumbranceConditions = function(charId, templateInstance) {
|
||||
});
|
||||
var character = Characters.findOne(
|
||||
charId,
|
||||
{fields: {strength: 1, "settings": 1}}
|
||||
{fields: {"settings": 1}}
|
||||
);
|
||||
var strength = character.attributeValue("strength");
|
||||
var strength = Characters.calculate.attributeValue(charId, "strength");
|
||||
var give = function(condition) {
|
||||
Meteor.call("giveCondition", charId, condition);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user