View Single Post
  #17  
Old January 21st, 2020, 02:34 PM
estar estar is offline
Citizen: SOC-12
 
Join Date: Oct 2002
Posts: 184
Gallery : 0
Visit estar's Blog
estar has disabled reputation
Default

Dang it missed that.

OK it is fixed now

Code:
    checkSurvival: function () {
        var dm = 0;
        var sv = roll(2);
	dm = this.terms;
        this.verboseHistory('Survival roll ' + sv + ' + ' + dm + ' vs ' + 9);
        if ((sv + dm) >= 9) {
            return true;
        } else {
            return false;
        }
    },
Question what is the point of this code. I could only find calls to check Survival not to survivalThrow or survivalDM

Code:
    survivalThrow: 9,
    survivalDM: function (attributes) {
        var dm = 0;
        return dm;
    },
Reply With Quote