import { tMgr } from "../../../../Global"; import { GamePlayTable, TableName } from "../../../table/TableDefine"; import { BlockSkill } from "../../BattleConst"; import { BlockData } from "../BlockData"; import { BlockSkillBase } from "./BlockSkillBase"; export class BlockSkillDiamond extends BlockSkillBase { constructor(owner: BlockData) { super(BlockSkill.DIAMOND, owner); this._skillImg = "UI_yxz_tsfk_zsfk"; } onDead(): void { this.owner.map.battle.profit.diamond += (tMgr.getConfig(TableName.GAME_PLAY, 6) as GamePlayTable).Value; } }