去掉英雄不同类型 出生点不同,去掉能量增长方式的不同
This commit is contained in:
@@ -6696,7 +6696,7 @@
|
|||||||
"__id__": 294
|
"__id__": 294
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_active": true,
|
"_active": false,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 302
|
"__id__": 302
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user