UserSkillShield.ts 437 Bytes
import { tMgr } from "../../../Global";
import { TableName, UserSkillTable } from "../../table/TableDefine";
import { UserSkillBase } from "./UserSkillBase";

export class UserSkillShield extends UserSkillBase {

    start(free: boolean = false): boolean {
        if (super.start(free)) {

            this._battle.shieldCount = (tMgr.getConfig(TableName.USER_SKILL, 3) as UserSkillTable).Param;
        }

        return false;
    }
}