接下来测试强化

This commit is contained in:
2025-07-15 23:22:52 +08:00
parent 1780509509
commit 6f2af2f395
5 changed files with 44 additions and 3 deletions

View File

@@ -5,6 +5,7 @@
import { getHeroList, HeroList } from "./heroSet"
import { getSkills, HeroSkillList, SkillSet } from "./SkillSet"
import { equip_list, weapons, armors, accessorys, getEquipUUIDsByTypeAndLevel } from "./Equips"
import { getEnhancement } from "./LevelUp"
//1:伙伴 2:技能 3:装备的出现概率配置
export const CardProbability={
@@ -17,6 +18,7 @@ export const cardType={
SKILL:2,
EQUIP:3,
SPECIAL:4,
ENHANCEMENT:5,
}
// 获取随机卡牌UUID
export function getRandomCardUUID(
@@ -65,6 +67,7 @@ export function getRandomCardUUID(
case cardType.SPECIAL: // 功能卡牌
cardList = SuperCardsList;
break;
}
// 从对应类型的卡牌列表中随机选择一个