UNPKG

@ffxiv-teamcraft/simulator

Version:
51 lines 2.37 kB
"use strict"; 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.PrudentSynthesis = void 0; var progress_action_1 = require("../progress-action"); var crafting_job_enum_1 = require("../../crafting-job.enum"); var buff_enum_1 = require("../../buff.enum"); var PrudentSynthesis = /** @class */ (function (_super) { __extends(PrudentSynthesis, _super); function PrudentSynthesis() { return _super !== null && _super.apply(this, arguments) || this; } PrudentSynthesis.prototype.getLevelRequirement = function () { return { job: crafting_job_enum_1.CraftingJob.ANY, level: 88 }; }; PrudentSynthesis.prototype._canBeUsed = function (simulationState) { return !simulationState.hasBuff(buff_enum_1.Buff.WASTE_NOT) && !simulationState.hasBuff(buff_enum_1.Buff.WASTE_NOT_II); }; PrudentSynthesis.prototype.getBaseCPCost = function (simulationState) { return 18; }; PrudentSynthesis.prototype.getBaseDurabilityCost = function (simulationState) { return 5; }; PrudentSynthesis.prototype.getBaseSuccessRate = function (simulationState) { return 180; }; PrudentSynthesis.prototype.getIds = function () { return [100427, 100428, 100429, 100430, 100431, 100432, 100433, 100434]; }; PrudentSynthesis.prototype.getPotency = function (simulation) { return 180; }; return PrudentSynthesis; }(progress_action_1.ProgressAction)); exports.PrudentSynthesis = PrudentSynthesis; //# sourceMappingURL=prudent-synthesis.js.map