去掉英雄不同类型 出生点不同,去掉能量增长方式的不同

This commit is contained in:
2025-07-25 22:26:43 +08:00
parent 8832a2199e
commit 655a4eef56
2 changed files with 2 additions and 2 deletions

View File

@@ -6696,7 +6696,7 @@
"__id__": 294 "__id__": 294
} }
], ],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 302 "__id__": 302

View File

@@ -46,7 +46,7 @@ export class Hero extends ecs.Entity {
var scene = smc.map.MapView.scene; var scene = smc.map.MapView.scene;
node.parent = scene.entityLayer!.node! node.parent = scene.entityLayer!.node!
let pos=HeroPos[0].pos let pos=HeroPos[0].pos
if(HeroInfo[uuid].type==HType.warrior) pos=HeroPos[1].pos // if(HeroInfo[uuid].type==HType.warrior) pos=HeroPos[1].pos
node.setPosition(pos) node.setPosition(pos)
var hv = this.hero_init(uuid,node) var hv = this.hero_init(uuid,node)
hv.scale = 1; hv.scale = 1;