refactor: 移除驻场技能的折扣与收益加成逻辑
1. 删除所有与BuyDiscount、RefreshDiscount、SellGold、WaveGold相关的技能配置与代码逻辑 2. 简化卡牌购买价格、出售价格、刷新费用和回合金币收益的计算逻辑,不再依赖驻场技能加成 3. 更新英雄盒子的出售价格注释,移除驻场加成说明
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// ========== 从 HeroAttrs.ts 导入属性相关定义 ==========
|
||||
// ========== 从 HeroAttrs.ts 导入属性相关定义 ==========
|
||||
import { Attrs } from "./HeroAttrs";
|
||||
|
||||
export enum HSSet {
|
||||
@@ -435,8 +435,6 @@ export enum FieldSkillType {
|
||||
SummonCount = 1, // 召唤触发技能次数提升
|
||||
DeadCount = 2, // 死亡触发技能次数提升
|
||||
StartCount = 3, // 战斗开始触发技能次数提升
|
||||
WaveGold = 5, // 每回合金币收益提升
|
||||
SellGold = 6, // 卖出英雄金币提升
|
||||
WaveHeal = 7, // 战斗结束生命回复量提升
|
||||
HeroAtk = 8, // 英雄攻击力加成
|
||||
HeroStun = 9, // 英雄击晕光环
|
||||
@@ -444,9 +442,6 @@ export enum FieldSkillType {
|
||||
HeroCritDamage = 11, // 英雄暴击伤害加成
|
||||
HeroSpeed = 12, // 英雄攻击速度加成
|
||||
// ---- 13~18 由 TalentSet 迁移而来,统一为驻场口径 ----
|
||||
// 备注:SellGold 已原生覆盖"出售返还"语义,故 TalentSet 中的 SellBonus 不再单独保留
|
||||
BuyDiscount = 13, // 购买卡牌费用减免(金币)
|
||||
RefreshDiscount = 14, // 刷新卡牌费用减免(金币)
|
||||
HeroHp = 16, // 英雄最大生命光环
|
||||
HeroWindFury = 17, // 英雄风怒概率加成
|
||||
HeroPuncture = 18, // 英雄穿刺概率加成
|
||||
@@ -481,11 +476,6 @@ export const FieldSkillSet: Record<number, FieldSkillConfig> = {
|
||||
7008: { uuid: 7008, name: "风怒光环", icon: "Stat_CriticalComboChance", type: FieldSkillType.HeroWindFury, info: "英雄风怒概率提升" },
|
||||
7009: { uuid: 7009, name: "穿刺光环", icon: "Stat_Tripleshot", type: FieldSkillType.HeroPuncture, info: "英雄穿刺概率提升" },
|
||||
|
||||
7010: { uuid: 7010, name: "金币收益", icon: "Stat_InventorySlotIncrease", type: FieldSkillType.WaveGold, info: "每回合金币收益提升" },
|
||||
7011: { uuid: 7011, name: "出售强化", icon: "Stat_GoldGainIncrease_01", type: FieldSkillType.SellGold, info: "卖出英雄金币提升" },
|
||||
7012: { uuid: 7012, name: "购买优惠", icon: "Stat_KeyCapacityIncrease", type: FieldSkillType.BuyDiscount, info: "购买卡牌费用减免" },
|
||||
7013: { uuid: 7013, name: "刷新优惠", icon: "Stat_RandomBonus", type: FieldSkillType.RefreshDiscount, info: "刷新卡牌费用减免" },
|
||||
|
||||
7014: { uuid: 7014, name: "召唤强化", icon: "Stat_UnitSummonIncrease_02", type: FieldSkillType.SummonCount, info: "召唤触发技能次数提升" },
|
||||
7015: { uuid: 7015, name: "死亡强化", icon: "Stat_PoisonChanceIncrease", type: FieldSkillType.DeadCount, info: "死亡触发技能次数提升" },
|
||||
7016: { uuid: 7016, name: "开场强化", icon: "Stat_AttackRangeIncrease_01", type: FieldSkillType.StartCount, info: "战斗开始触发技能次数提升" },
|
||||
|
||||
Reference in New Issue
Block a user