错误版本
This commit is contained in:
@@ -48,7 +48,6 @@ export class CardControllerComp extends CCComp {
|
||||
this.node.getChildByName("mission_home").active = true
|
||||
let mission=this.node.getChildByName("mission")
|
||||
mission.active = false
|
||||
mission_home.load_ui_heros()
|
||||
}
|
||||
show_hero_home(){
|
||||
let hero_home=this.node.getChildByName("hero_home")
|
||||
|
||||
14
assets/script/game/map/HeroPageCom.ts
Normal file
14
assets/script/game/map/HeroPageCom.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { _decorator, Component, Node } from 'cc';
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@ccclass('HeroPageCom')
|
||||
export class HeroPageCom extends Component {
|
||||
start() {
|
||||
|
||||
}
|
||||
|
||||
update(deltaTime: number) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
9
assets/script/game/map/HeroPageCom.ts.meta
Normal file
9
assets/script/game/map/HeroPageCom.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "dc69fd33-16d1-4c08-a2ce-1303c31abe3c",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -266,8 +266,8 @@ export function getMonsterUUIDsByType(monsterType: MonsterType): number[] {
|
||||
case MonsterType.BOSS:
|
||||
// 紫色及以上品质为Boss怪物
|
||||
const purpleMonsters = getMonList(HQuality.PURPLE);
|
||||
const orangeMonsters = getMonList(HQuality.ORANGE);
|
||||
return [...purpleMonsters, ...orangeMonsters];
|
||||
const redMonsters = getMonList(HQuality.RED);
|
||||
return [...purpleMonsters, ...redMonsters];
|
||||
default:
|
||||
return [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user