e72676c2-57c8-4771-90e4-080f25d35e46.js
1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
"use strict";
cc._RF.push(module, 'e7267bCV8hHcZDkCA8l015G', 'BlockSkillDiamond');
// scripts/kernel/battle/map/blockSkill/BlockSkillDiamond.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.BlockSkillDiamond = void 0;
var Global_1 = require("../../../../Global");
var TableDefine_1 = require("../../../table/TableDefine");
var BattleConst_1 = require("../../BattleConst");
var BlockSkillBase_1 = require("./BlockSkillBase");
var BlockSkillDiamond = /** @class */ (function (_super) {
__extends(BlockSkillDiamond, _super);
function BlockSkillDiamond(owner) {
var _this = _super.call(this, BattleConst_1.BlockSkill.DIAMOND, owner) || this;
_this._skillImg = "UI_yxz_tsfk_zsfk";
return _this;
}
BlockSkillDiamond.prototype.onDead = function () {
this.owner.map.battle.profit.diamond += Global_1.tMgr.getConfig(TableDefine_1.TableName.GAME_PLAY, 6).Value;
};
return BlockSkillDiamond;
}(BlockSkillBase_1.BlockSkillBase));
exports.BlockSkillDiamond = BlockSkillDiamond;
cc._RF.pop();