mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 03:14:47 +00:00
修复
This commit is contained in:
parent
5366e3413c
commit
ddde5a6a12
@ -363,6 +363,8 @@ export default class GOnHookMode extends GDefaultMode<{},{}>{
|
||||
if(!creeps) return; //没有获取到野怪则返回
|
||||
this.onGenCreeps(index + 1,creeps);
|
||||
}
|
||||
|
||||
this.onUpdatePlayerPet();
|
||||
// this.enemyInfo.roles.forEach((info,index) => this.onGenRole(GOnHookModePlayerEnum.ENEMY,index + 1,info));
|
||||
}
|
||||
|
||||
|
@ -33,13 +33,13 @@ export default class GSkillCDNormal extends GSkillCDBase{
|
||||
let end = () => {
|
||||
this.role.fsmAnim.open();
|
||||
this.role.fsmAnim.delEventListener("skillAttack",attack)
|
||||
this.role.fsmAnim.delEndListener("skillAttack",end)
|
||||
this.role.fsmAnim.delEndListener("skill",end)
|
||||
}
|
||||
//监听伤害
|
||||
this.role.fsmAnim.addEventListener("skillAttack",attack)
|
||||
//播放妙蛙种子技能
|
||||
this.role.spine.setAnimation(0,"skill",false);
|
||||
this.role.fsmAnim.addEndListener("skillAttack",end)
|
||||
this.role.fsmAnim.addEndListener("skill",end)
|
||||
|
||||
return true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user