UNPKG

@ffxiv-teamcraft/simulator

Version:
52 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.TrainedFinesse = void 0; var crafting_job_enum_1 = require("../../crafting-job.enum"); var buff_enum_1 = require("../../buff.enum"); var quality_action_1 = require("../quality-action"); var TrainedFinesse = /** @class */ (function (_super) { __extends(TrainedFinesse, _super); function TrainedFinesse() { return _super !== null && _super.apply(this, arguments) || this; } TrainedFinesse.prototype._canBeUsed = function (simulationState, linear) { return (simulationState.hasBuff(buff_enum_1.Buff.INNER_QUIET) && simulationState.getBuff(buff_enum_1.Buff.INNER_QUIET).stacks === 10); }; TrainedFinesse.prototype.getBaseCPCost = function (simulationState) { return 32; }; TrainedFinesse.prototype.getIds = function () { return [100435, 100436, 100437, 100438, 100439, 100440, 100441, 100442]; }; TrainedFinesse.prototype.getLevelRequirement = function () { return { job: crafting_job_enum_1.CraftingJob.ANY, level: 90 }; }; TrainedFinesse.prototype.getBaseDurabilityCost = function (simulationState) { return 0; }; TrainedFinesse.prototype.getBaseSuccessRate = function (simulationState) { return 100; }; TrainedFinesse.prototype.getPotency = function (simulation) { return 100; }; return TrainedFinesse; }(quality_action_1.QualityAction)); exports.TrainedFinesse = TrainedFinesse; //# sourceMappingURL=trained-finesse.js.map