ab8ff858-309a-44be-89cc-60a76620b93d.js 1.53 KB
"use strict";
cc._RF.push(module, 'ab8ffhYMJpEvonMYKdmILk9', 'UserSkillDoubleShoot');
// scripts/kernel/battle/userSkill/UserSkillDoubleShoot.ts

"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) {
        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.UserSkillDoubleShoot = void 0;
var UserSkillBase_1 = require("./UserSkillBase");
var UserSkillDoubleShoot = /** @class */ (function (_super) {
    __extends(UserSkillDoubleShoot, _super);
    function UserSkillDoubleShoot() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    UserSkillDoubleShoot.prototype.start = function (free) {
        if (free === void 0) { free = false; }
        if (_super.prototype.start.call(this, free)) {
            this._battle.doubleShoot = true;
            // this.dispatchEvent();
        }
        return false;
    };
    return UserSkillDoubleShoot;
}(UserSkillBase_1.UserSkillBase));
exports.UserSkillDoubleShoot = UserSkillDoubleShoot;

cc._RF.pop();