UNPKG

@ffxiv-teamcraft/simulator

Version:
64 lines 2.71 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.QuickInnovation = void 0; var buff_action_1 = require("../buff-action"); var buff_enum_1 = require("../../buff.enum"); var crafting_job_enum_1 = require("../../crafting-job.enum"); var QuickInnovation = /** @class */ (function (_super) { __extends(QuickInnovation, _super); function QuickInnovation() { return _super !== null && _super.apply(this, arguments) || this; } QuickInnovation.prototype.getLevelRequirement = function () { return { job: crafting_job_enum_1.CraftingJob.ANY, level: 96 }; }; QuickInnovation.prototype.getBaseCPCost = function (simulationState) { return 0; }; QuickInnovation.prototype._canBeUsed = function (simulationState) { return (simulationState.crafterStats.specialist && !simulationState.steps.some(function (step) { return step.action.is(QuickInnovation); })); }; QuickInnovation.prototype.getWaitDuration = function () { return 3; }; QuickInnovation.prototype.getBuff = function () { return buff_enum_1.Buff.INNOVATION; }; QuickInnovation.prototype.getDuration = function (simulation) { return 1; }; QuickInnovation.prototype.getIds = function () { return [100459, 100460, 100461, 100462, 100463, 100464, 100465, 100466]; }; QuickInnovation.prototype.getInitialStacks = function () { return 0; }; QuickInnovation.prototype.skipsBuffTicks = function () { return true; }; QuickInnovation.prototype.canBeClipped = function () { return true; }; QuickInnovation.prototype.getTick = function () { return undefined; }; return QuickInnovation; }(buff_action_1.BuffAction)); exports.QuickInnovation = QuickInnovation; //# sourceMappingURL=quick-innovation.js.map