// TODO: 假死 private void castDeathSkill(float rate, int angryCost = 0) { BT_Logical war = owner._war; BT_MonsterTeam selfTeam = owner.ownerTeam; if (angryCost > 0) // 扣怒气... { selfTeam.costAngry(angryCost); } CMsgSkillDeath msg = new CMsgSkillDeath(this); msg.suffer = owner.pveId; war.addMsgToRecorder(msg); float leftAtt = owner.initAtt * rate * Consts.oneHundred; owner.setCurAtt(leftAtt); owner.setAlive(); msg.curAtt = owner.curAtt; }