mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-12-08 14:00:02 +00:00
3.7.4 spine不同步转3.8.1 修复3.8.1 动画
This commit is contained in:
@@ -114,6 +114,7 @@ export default class GRoleDefault extends GRoleBase<{}>{
|
||||
//攻击
|
||||
onAttack(){
|
||||
if(!this.fsm.enemy) return;
|
||||
console.log(`播放动画[${this.nId}] onAttack`,this.fsm.enemy.nId)
|
||||
//敌人扣血
|
||||
let info = TableGRoleAttack.getConfig(this.role.id);
|
||||
(new GAttack[info.attackWay]()).attack(this,info);
|
||||
|
||||
Reference in New Issue
Block a user