mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
1
This commit is contained in:
@@ -93,9 +93,11 @@ export default class GCampGuardianMode extends GBaseMode<{},{}>{
|
||||
|
||||
switch(type){
|
||||
case GCampGuardianEnum.PLAYER:
|
||||
tactical.setOffset(this.playerPos);
|
||||
pos = tactical.getPosXYPosition(1,1,this.playerPos);
|
||||
break;
|
||||
case GCampGuardianEnum.ENEMY:
|
||||
tactical.setOffset(this.enemyPos);
|
||||
pos = tactical.getPosXYPosition(1,1,this.enemyPos);
|
||||
break;
|
||||
}
|
||||
@@ -114,7 +116,7 @@ export default class GCampGuardianMode extends GBaseMode<{},{}>{
|
||||
}
|
||||
|
||||
//绑定死亡回调
|
||||
// entity.addKillBackEvent(this.onRoleKillBack.bind(this))
|
||||
entity.addKillBackEvent(this.onRoleKillBack.bind(this))
|
||||
|
||||
//添加宠物属性
|
||||
entity.onEffectiveValue(new GPetAttribute({
|
||||
|
Reference in New Issue
Block a user