dd
This commit is contained in:
@@ -60,6 +60,7 @@ export class Hero extends ecs.Entity {
|
||||
|
||||
hero_init(uuid:number=1001,node:Node,pos:Vec3=v3(0,0,0)){
|
||||
var mv = node.getComponent(MonsterViewComp)!;
|
||||
mv.hero_uuid=uuid;
|
||||
mv.speed =mv.ospeed = CardSet[uuid].speed;
|
||||
mv.hero_name= CardSet[uuid].name;
|
||||
mv.hp= mv.hp_max = CardSet[uuid].hp;
|
||||
|
||||
Reference in New Issue
Block a user