品质统一在boxset设定

This commit is contained in:
2025-08-18 21:03:47 +08:00
parent 3884b35829
commit 9e1459973c
18 changed files with 368 additions and 377 deletions

View File

@@ -10,6 +10,7 @@ import { HeroViewComp } from "../hero/HeroViewComp";
import { oops } from "db://oops-framework/core/Oops";
import { HeroPos } from "../common/config/heroSet";
import { FightSet } from "../common/config/Mission";
import { QualitySet } from "../common/config/BoxSet";
const { ccclass, property } = _decorator;
/** 视图层对象 */
@@ -112,7 +113,7 @@ export class MissionHeroCompComp extends CCComp {
this.current_hero_uuid = uuid
this.heros[this.current_hero_num].uuid = uuid
this.heros[this.current_hero_num].count = 1
this.heros[this.current_hero_num].quality = 0
this.heros[this.current_hero_num].quality = QualitySet.GREEN
this.addHero(uuid, false)
}