去掉英雄不同类型 出生点不同,去掉能量增长方式的不同
This commit is contained in:
@@ -46,7 +46,7 @@ export class Hero extends ecs.Entity {
|
||||
var scene = smc.map.MapView.scene;
|
||||
node.parent = scene.entityLayer!.node!
|
||||
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)
|
||||
var hv = this.hero_init(uuid,node)
|
||||
hv.scale = 1;
|
||||
|
||||
Reference in New Issue
Block a user