UNPKG

@ffxiv-teamcraft/simulator

Version:
51 lines 2.3 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.PrudentTouch = void 0; var quality_action_1 = require("../quality-action"); var buff_enum_1 = require("../../buff.enum"); var crafting_job_enum_1 = require("../../crafting-job.enum"); var PrudentTouch = /** @class */ (function (_super) { __extends(PrudentTouch, _super); function PrudentTouch() { return _super !== null && _super.apply(this, arguments) || this; } PrudentTouch.prototype.getLevelRequirement = function () { return { job: crafting_job_enum_1.CraftingJob.ANY, level: 66 }; }; PrudentTouch.prototype._canBeUsed = function (simulationState) { return !(simulationState.hasBuff(buff_enum_1.Buff.WASTE_NOT) || simulationState.hasBuff(buff_enum_1.Buff.WASTE_NOT_II)); }; PrudentTouch.prototype.getBaseCPCost = function (simulationState) { return 25; }; PrudentTouch.prototype.getBaseDurabilityCost = function (simulationState) { return 5; }; PrudentTouch.prototype.getBaseSuccessRate = function (simulationState) { return 100; }; PrudentTouch.prototype.getIds = function () { return [100227, 100228, 100229, 100230, 100231, 100232, 100233, 100234]; }; PrudentTouch.prototype.getPotency = function (simulation) { return 100; }; return PrudentTouch; }(quality_action_1.QualityAction)); exports.PrudentTouch = PrudentTouch; //# sourceMappingURL=prudent-touch.js.map