将 consts 整理到几个文件中

This commit is contained in:
liangtongchuan
2020-12-15 16:02:59 +08:00
parent 3a78f667c3
commit e877b0190d
61 changed files with 402 additions and 69 deletions

View File

@@ -0,0 +1,20 @@
export const GONGSHI = {
"TOWER_HANG_UP_SPEED_COST": "50",
"TOWER_TASK_REF_COST": "200",
"DAILY_REFRESH_NUM_COST": "50*num"
};
/**
* 计算元宝和次数相关的系数
* 公式: A * num + B
*/
export const GOLD_COST_RATIO = {
"TOWER_HANG_SPDUP": { "A": 0, "B": 50 }, // 天梯挂机加速花费
"TOWER_TASK_REF": { "A": 0, "B": 50 }, // 天梯派遣刷新花费
"DAILY_REF_NUM": { "A": 50, "B": 0 }, // 每日购买次数花费
"DUNGRON_BUY_NUM": { "A": 0, "B": 50 } // 秘境购买次数花费
}
export const EXPRESSION = {
"CE": "1*hp+2*atk+2*matk+2*def+2*mdef+2*agi+2*luk+0*hit+0*cri+0*flee+0*antCri+0*damageIncrease+0*damageDecrease+0*defIngnore+0*bloodSuck"
}