//角色攻击 void _processAttack(FBActor attacker, FBActor actor) { //todo bdt 个性化处理部分 BallDetachType_Attacked bdt = BallDetachType_Attacked.Normal; if (!actor.isCtrlBall()) { bdt = BallDetachType_Attacked.None; } actor.beAttacked(attacker, bdt); }