@ffxiv-teamcraft/simulator
Version:
A FINAL FANTASY XIV crafting simulator
54 lines • 2.39 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.PreparatoryTouch = void 0;
var quality_action_1 = require("../quality-action");
var crafting_job_enum_1 = require("../../crafting-job.enum");
var PreparatoryTouch = /** @class */ (function (_super) {
__extends(PreparatoryTouch, _super);
function PreparatoryTouch() {
return _super !== null && _super.apply(this, arguments) || this;
}
PreparatoryTouch.prototype.getLevelRequirement = function () {
return { job: crafting_job_enum_1.CraftingJob.ANY, level: 71 };
};
PreparatoryTouch.prototype.execute = function (simulation) {
_super.prototype.execute.call(this, simulation);
simulation.addInnerQuietStacks(1);
};
PreparatoryTouch.prototype._canBeUsed = function (simulationState) {
return true;
};
PreparatoryTouch.prototype.getBaseCPCost = function (simulationState) {
return 40;
};
PreparatoryTouch.prototype.getBaseDurabilityCost = function (simulationState) {
return 20;
};
PreparatoryTouch.prototype.getBaseSuccessRate = function (simulationState) {
return 100;
};
PreparatoryTouch.prototype.getIds = function () {
return [100299, 100300, 100301, 100302, 100303, 100304, 100305, 100306];
};
PreparatoryTouch.prototype.getPotency = function (simulation) {
return 200;
};
return PreparatoryTouch;
}(quality_action_1.QualityAction));
exports.PreparatoryTouch = PreparatoryTouch;
//# sourceMappingURL=preparatory-touch.js.map