|
|
|
@@ -77,10 +77,14 @@ let macro = |
|
|
|
"scaling": function(value, scale, factor) { return value * Math.pow(scale,factor); }, |
|
|
|
get height() { return this.scaling(this.baseHeight, this.scale, 1); }, |
|
|
|
get mass () { return this.scaling(this.baseMass, this.scale, 3); }, |
|
|
|
get pawArea() { return this.scaling(this.basePawArea * this.pawScale * this.pawScale, this.scale, 2); }, |
|
|
|
get pawLength() { return this.scaling(this.basePawLength * this.pawScale, this.scale, 1); }, |
|
|
|
get pawWidth() { return this.scaling(this.basePawWidth * this.pawScale, this.scale, 1); }, |
|
|
|
get pawArea() { return this.pawLength * this.pawWidth; }, |
|
|
|
get analVoreArea() { return this.scaling(Math.pow(this.baseAnalVoreDiameter * this.assScale, 2), this.scale, 2); }, |
|
|
|
get assArea() { return this.scaling(this.baseAssArea * this.assScale, this.scale, 2); }, |
|
|
|
get handArea() { return this.scaling(this.baseHandArea, this.scale, 2); }, |
|
|
|
get handLength() { return this.scaling(this.baseHandLength, this.scale, 1); }, |
|
|
|
get handWidth() { return this.scaling(this.baseHandWidth, this.scale, 1); }, |
|
|
|
get handArea() { return this.handLength * this.handWidth }, |
|
|
|
|
|
|
|
get wingLength() { return this.scaling(this.baseWingLength, this.scale, 1); }, |
|
|
|
get wingWidth() { return this.scaling(this.baseWingWidth, this.scale, 1); }, |
|
|
|
|