UNPKG

@ffxiv-teamcraft/simulator

Version:
58 lines 2.59 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.TrainedPerfection = void 0; var action_type_1 = require("../action-type"); var crafting_job_enum_1 = require("../../crafting-job.enum"); var buff_action_1 = require("../buff-action"); var buff_enum_1 = require("../../buff.enum"); var TrainedPerfection = /** @class */ (function (_super) { __extends(TrainedPerfection, _super); function TrainedPerfection() { return _super !== null && _super.apply(this, arguments) || this; } TrainedPerfection.prototype.getLevelRequirement = function () { return { job: crafting_job_enum_1.CraftingJob.ANY, level: 100 }; }; TrainedPerfection.prototype.getType = function () { return action_type_1.ActionType.OTHER; }; TrainedPerfection.prototype._canBeUsed = function (simulationState) { return !simulationState.steps.some(function (step) { return step.action.is(TrainedPerfection); }); }; TrainedPerfection.prototype.getBaseCPCost = function (simulationState) { return 0; }; TrainedPerfection.prototype.getIds = function () { return [100475, 100476, 100477, 100478, 100479, 100480, 100481, 100482]; }; TrainedPerfection.prototype.getBuff = function () { return buff_enum_1.Buff.TRAINED_PERFECTION; }; TrainedPerfection.prototype.getDuration = function (simulation) { return Infinity; }; TrainedPerfection.prototype.getInitialStacks = function () { return 0; }; TrainedPerfection.prototype.getTick = function () { return undefined; }; return TrainedPerfection; }(buff_action_1.BuffAction)); exports.TrainedPerfection = TrainedPerfection; //# sourceMappingURL=trained-perfection.js.map