"use strict"; cc._RF.push(module, 'a14a7IndsBOY5qj4xzLpfvr', 'UserSkillShield'); // scripts/kernel/battle/userSkill/UserSkillShield.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.UserSkillShield = void 0; var Global_1 = require("../../../Global"); var TableDefine_1 = require("../../table/TableDefine"); var UserSkillBase_1 = require("./UserSkillBase"); var UserSkillShield = /** @class */ (function (_super) { __extends(UserSkillShield, _super); function UserSkillShield() { return _super !== null && _super.apply(this, arguments) || this; } UserSkillShield.prototype.start = function (free) { if (free === void 0) { free = false; } if (_super.prototype.start.call(this, free)) { this._battle.shieldCount = Global_1.tMgr.getConfig(TableDefine_1.TableName.USER_SKILL, 3).Param; } return false; }; return UserSkillShield; }(UserSkillBase_1.UserSkillBase)); exports.UserSkillShield = UserSkillShield; cc._RF.pop();