43 lines
2.0 KiB
Go
43 lines
2.0 KiB
Go
package pricing
|
|
|
|
const DefaultSyncURL = "https://hao858.com"
|
|
|
|
func DefaultConfig() Config {
|
|
return Config{
|
|
SchemaVersion: 1,
|
|
InsuranceBaseRatios: []InsuranceBaseRatio{
|
|
{Insurance: "3*3", Ratio: 40},
|
|
{Insurance: "2*3", Ratio: 42},
|
|
{Insurance: "2*2", Ratio: 47},
|
|
{Insurance: "2*1", Ratio: 48},
|
|
},
|
|
RatioConfigItems: []RatioConfigItem{
|
|
{Key: "melee", Label: "刀皮", Kind: "skin_group", GroupKey: "melee", MissingPenalty: 1},
|
|
{Key: "operatorRed", Label: "角色红皮", Kind: "skin_group", GroupKey: "operatorRed", MissingPenalty: 1},
|
|
{Key: "staminaMax", Label: "满体力", Kind: "max_stamina", MissingPenalty: 1},
|
|
{Key: "loadMax", Label: "满负重", Kind: "max_load", MissingPenalty: 1},
|
|
{Key: "weapon", Label: "武器皮肤", Kind: "skin_group", GroupKey: "weapon", MissingPenalty: 1},
|
|
},
|
|
CoinCorrections: []CoinCorrection{
|
|
{ThresholdM: 130, Correction: 1},
|
|
{ThresholdM: 230, Correction: 2.5},
|
|
{ThresholdM: 380, Correction: 4},
|
|
{ThresholdM: 530, Correction: 5},
|
|
},
|
|
QuantityItems: []QuantityItem{
|
|
{Key: "awmAmmo", Label: "AWM子弹", Price: "0.6元/发", Unit: "发"},
|
|
{Key: "level6Ammo", Label: "6级子弹", Price: "0.1元/发", Unit: "发", Placeholder: "按单发数量填写,60发=6元"},
|
|
{Key: "helmet6", Label: "6级头盔", Price: "1.5元/个", Unit: "个"},
|
|
{Key: "armor6", Label: "6级护甲", Price: "2.5元/个", Unit: "个"},
|
|
{Key: "barrettAmmo", Label: "巴雷特子弹", Price: "0.3元/发", Unit: "发"},
|
|
{Key: "gridCard9", Label: "顶级保险卡", Price: "3元/张", Unit: "张", Placeholder: "3*3 保险下不可用"},
|
|
{Key: "coffeeBean", Label: "高级咖啡豆", Price: "2.5元/个", Unit: "个"},
|
|
{Key: "bulletPart", Label: "高级子弹零件", Price: "3元/个", Unit: "个"},
|
|
{Key: "redPacket45", Label: "45格大红包", Price: "1.5元/个", Unit: "个"},
|
|
},
|
|
DailyLossOptions: []float64{10, 20, 30, 40, 50},
|
|
AcceleratedMaxRatio: 10,
|
|
SyncURL: DefaultSyncURL,
|
|
}
|
|
}
|