dd 56卡牌栏 为role 专有物品,不在有针对小兵的 卡牌技能, 小兵的强化靠role,没有驻场 技能,role 修改为多技能
This commit is contained in:
@@ -4,7 +4,6 @@ import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/modu
|
||||
import { smc } from "../common/SingletonModuleComp";
|
||||
import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops";
|
||||
import { RandomManager } from "../../../../extensions/oops-plugin-framework/assets/core/common/random/RandomManager";
|
||||
import { CardList } from "../common/config/CardSet";
|
||||
import { SkillSet } from "../common/config/SkillSet";
|
||||
import { HeroModelComp } from "../hero/HeroModelComp";
|
||||
const { ccclass, property } = _decorator;
|
||||
@@ -229,10 +228,7 @@ export class CardControllerComp extends CCComp {
|
||||
}
|
||||
}
|
||||
|
||||
get_card_list(li:number){
|
||||
let list = RandomManager.instance.getRandomByObjectList(CardList[li], 1);
|
||||
return list
|
||||
}
|
||||
|
||||
load_cards() {
|
||||
this.in_load = true
|
||||
let card:any=null
|
||||
@@ -261,7 +257,7 @@ export class CardControllerComp extends CCComp {
|
||||
this.cards[index].alive=true
|
||||
}
|
||||
for (let index = 5; index <= 6; index++) {
|
||||
card=RandomManager.instance.getRandomByObjectList(CardList[index], 1);
|
||||
card=RandomManager.instance.getRandomByObjectList(smc.items, 1);
|
||||
this.cards[index].uuid=card[0].uuid
|
||||
this.cards[index].type=card[0].type
|
||||
let url: string = "";
|
||||
|
||||
Reference in New Issue
Block a user