@ffxiv-teamcraft/simulator
Version:
A FINAL FANTASY XIV crafting simulator
54 lines • 2.36 kB
JavaScript
;
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.DaringTouch = void 0;
var quality_action_1 = require("../quality-action");
var crafting_job_enum_1 = require("../../crafting-job.enum");
var buff_enum_1 = require("../../buff.enum");
var DaringTouch = /** @class */ (function (_super) {
__extends(DaringTouch, _super);
function DaringTouch() {
return _super !== null && _super.apply(this, arguments) || this;
}
DaringTouch.prototype.getLevelRequirement = function () {
return { job: crafting_job_enum_1.CraftingJob.ANY, level: 96 };
};
DaringTouch.prototype.hasCombo = function (simulation) {
return simulation.hasBuff(buff_enum_1.Buff.EXPEDIENCE);
};
DaringTouch.prototype._canBeUsed = function (simulationState) {
return simulationState.hasBuff(buff_enum_1.Buff.EXPEDIENCE);
};
DaringTouch.prototype.getBaseDurabilityCost = function (simulationState) {
return 10;
};
DaringTouch.prototype.getBaseSuccessRate = function (simulationState) {
return 60;
};
DaringTouch.prototype.getBaseCPCost = function (simulationState) {
return 0;
};
DaringTouch.prototype.getIds = function () {
return [100451, 100452, 100453, 100454, 100455, 100456, 100457, 100458];
};
DaringTouch.prototype.getPotency = function (simulation) {
return 150;
};
return DaringTouch;
}(quality_action_1.QualityAction));
exports.DaringTouch = DaringTouch;
//# sourceMappingURL=daring-touch.js.map