Compare commits
2 Commits
80f0992fce
...
96f06535e1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96f06535e1 | ||
|
|
e1b6c9e654 |
File diff suppressed because it is too large
Load Diff
@@ -547,18 +547,9 @@ export class MissionCardComp extends CCComp {
|
|||||||
if (this.pool_lv_node) {
|
if (this.pool_lv_node) {
|
||||||
this.pool_lv_node.active = true;
|
this.pool_lv_node.active = true;
|
||||||
const lv = Math.max(CARD_POOL_INIT_LEVEL, Math.min(CARD_POOL_MAX_LEVEL, Math.floor(this.poolLv)));
|
const lv = Math.max(CARD_POOL_INIT_LEVEL, Math.min(CARD_POOL_MAX_LEVEL, Math.floor(this.poolLv)));
|
||||||
const lv1 = this.pool_lv_node.getChildByName("lv1");
|
this.pool_lv_node.getComponent(Label).string = `${lv}`;
|
||||||
const lv2 = this.pool_lv_node.getChildByName("lv2");
|
const peak = 1.2
|
||||||
const lv3 = this.pool_lv_node.getChildByName("lv3");
|
this.playHeroNumNodePop( this.pool_lv_node, peak);
|
||||||
const lv4 = this.pool_lv_node.getChildByName("lv4");
|
|
||||||
const lv5 = this.pool_lv_node.getChildByName("lv5");
|
|
||||||
const lv6 = this.pool_lv_node.getChildByName("lv6");
|
|
||||||
if (lv1) lv1.active = lv >= 1;
|
|
||||||
if (lv2) lv2.active = lv >= 2;
|
|
||||||
if (lv3) lv3.active = lv >= 3;
|
|
||||||
if (lv4) lv4.active = lv >= 4;
|
|
||||||
if (lv5) lv5.active = lv >= 5;
|
|
||||||
if (lv6) lv6.active = lv >= 6;
|
|
||||||
}
|
}
|
||||||
mLogger.log(this.debugMode, "MissionCardComp", "pool lv ui update", {
|
mLogger.log(this.debugMode, "MissionCardComp", "pool lv ui update", {
|
||||||
poolLv: this.poolLv,
|
poolLv: this.poolLv,
|
||||||
|
|||||||
1447
assets/script/hearthstone-battlegrounds.md
Normal file
1447
assets/script/hearthstone-battlegrounds.md
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user