@ffxiv-teamcraft/simulator
Version:
A FINAL FANTASY XIV crafting simulator
50 lines • 2.26 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.CarefulSynthesis = void 0;
var progress_action_1 = require("../progress-action");
var crafting_job_enum_1 = require("../../crafting-job.enum");
var CarefulSynthesis = /** @class */ (function (_super) {
__extends(CarefulSynthesis, _super);
function CarefulSynthesis() {
return _super !== null && _super.apply(this, arguments) || this;
}
CarefulSynthesis.prototype.getLevelRequirement = function () {
return { job: crafting_job_enum_1.CraftingJob.ANY, level: 62 };
};
CarefulSynthesis.prototype._canBeUsed = function (simulationState) {
return true;
};
CarefulSynthesis.prototype.getBaseCPCost = function (simulationState) {
return 7;
};
CarefulSynthesis.prototype.getBaseDurabilityCost = function (simulationState) {
return 10;
};
CarefulSynthesis.prototype.getBaseSuccessRate = function (simulationState) {
return 100;
};
CarefulSynthesis.prototype.getIds = function () {
return [100203, 100204, 100205, 100206, 100207, 100208, 100209, 100210];
};
CarefulSynthesis.prototype.getPotency = function (simulation) {
return simulation.crafterStats.level >= 82 ? 180 : 150;
};
return CarefulSynthesis;
}(progress_action_1.ProgressAction));
exports.CarefulSynthesis = CarefulSynthesis;
//# sourceMappingURL=careful-synthesis.js.map