You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
147 lines
3.4 KiB
YAML
147 lines
3.4 KiB
YAML
Server:
|
|
Debug: false
|
|
Listen: 0.0.0.0:22222
|
|
UserCenterRpc:
|
|
Etcd:
|
|
Hosts:
|
|
- 127.0.0.1:2379
|
|
Key: usercenter.rpc.dev
|
|
NonBlock: true
|
|
Kafka:
|
|
Danmaku:
|
|
Addr: [ "127.0.0.1:9093" ]
|
|
Topic: "danmaku-dev"
|
|
ConsumerGroup: "msgToPush-dev"
|
|
Gift:
|
|
Addr: [ "127.0.0.1:9093" ]
|
|
Topic: "gift-dev"
|
|
ConsumerGroup: "giftToPush-dev"
|
|
GuardBuy:
|
|
Addr: [ "127.0.0.1:9093" ]
|
|
Topic: "guardBuy-dev"
|
|
ConsumerGroup: "guardBuyConsumerG-dev"
|
|
RewardPool:
|
|
Addr: [ "127.0.0.1:9093" ]
|
|
Topic: "rewardPool-dev"
|
|
ConsumerGroup: "rewardPoolConsumerG-dev"
|
|
UserCoin:
|
|
Addr: [ "127.0.0.1:9093" ]
|
|
Topic: "notify-user-coin-dev"
|
|
ConsumerGroup: "notifyUserCoinConsumerG-dev"
|
|
Game:
|
|
# 30213831837876229 地球
|
|
AdminUserId: [ 30096265903603717, 30213831837876229 ]
|
|
DefaultRooms:
|
|
- ID: 1
|
|
GameType: ZHG
|
|
- ID: 2
|
|
GameType: ZHGZD
|
|
- ID: 3
|
|
GameType: ZHGWW2
|
|
- ID: 4
|
|
GameType: TEST
|
|
Zhg:
|
|
# 1元=10 Coin (1元40个步兵)
|
|
CoinFoodRatio: 4
|
|
OutbreakCount: 3
|
|
OutbreakMaxCount: 30 # 3x10=30
|
|
OutbreakBaseCost: 5
|
|
OutbreakCostDict:
|
|
1: 1 # 步兵
|
|
2: 2.333 # 骑兵
|
|
3: 1.333 # 弓箭手
|
|
4: 1 # 法师
|
|
Zhghz:
|
|
Zhgfb:
|
|
Zhgzd:
|
|
MaxStrategicPoints: 100
|
|
StrategicRecoverSpeed: 5
|
|
CommandUnitDict:
|
|
1: "0001"
|
|
2: "0004"
|
|
3: "0003"
|
|
4: "0006"
|
|
CommandCostDict:
|
|
s:
|
|
Common: 0
|
|
Units:
|
|
"0001": 30
|
|
"0003": 35
|
|
"0004": 30
|
|
"0006": 30
|
|
c:
|
|
Common: 5
|
|
r:
|
|
Common: 10
|
|
p:
|
|
Common: 10
|
|
m:
|
|
Common: 5
|
|
DispatchCountDict:
|
|
"0001": 5
|
|
"0003": 5
|
|
"0004": 2
|
|
"0006": 5
|
|
GiftEffect:
|
|
StrategicMaximal:
|
|
# 这个好诶 10电池 1元
|
|
GiftIds: [ 30758,30971,31213,31478 ]
|
|
Addon: 10
|
|
Limit: 5
|
|
StrategicRecover:
|
|
# 打call 5电池 0.5元
|
|
GiftIds: [ 31278,31037,31212,31485 ]
|
|
Addon: 3
|
|
Duration: 5
|
|
Limit: 10
|
|
SupportSkill:
|
|
# 辣条随机 免费
|
|
- GiftIds: [ 1 ]
|
|
SkillIds: [ "S0001", "S0001", "S0002","S0002", "S0003", "S0005" ]
|
|
# 小花花 - 火墙 1电池 0.1元
|
|
- GiftIds: [ 31036, 31476 ]
|
|
SkillIds: [ "S0001" ]
|
|
# 牛哇牛哇 - 雷击 1电池 0.1元
|
|
- GiftIds: [ 31225, 31214, 31039, 31202, 31477 ]
|
|
SkillIds: [ "S0003" ]
|
|
# i了i了 - 箭雨 1电池 0.1元
|
|
- GiftIds: [ 31060, 31216 ]
|
|
SkillIds: [ "S0002" ]
|
|
SuperSkill:
|
|
# 干杯 超级技能
|
|
GiftIds: [ 30606, 31049, 31251, 31116 ]
|
|
Zhgww2:
|
|
GiftEffect:
|
|
# 辣条
|
|
Free: [ 1 ]
|
|
# 牛哇牛哇
|
|
RestoreHealth: [ 31039, 31477, 31225, 31214, 31202 ]
|
|
SupportSkill: [ ]
|
|
# 告白气球,这个好诶
|
|
Paratroops: [ 31702, 31639, 30758, 30971, 31213, 31478 ]
|
|
# 打call
|
|
Reborn: [ 31485, 31641, 31212, 31037, 31278 ]
|
|
# 小花花
|
|
Overtime: [ 31036, 31476 ]
|
|
# 粉丝团灯牌
|
|
Commander: [ 31164,31738 ]
|
|
# 盛典门票
|
|
Tank: [ 30727 ]
|
|
TankRatio: 0.1
|
|
TankMulThreshold: 40000
|
|
TankMulRatio: 0.2
|
|
OvertimeRatio: 6
|
|
Log:
|
|
Console:
|
|
Level: debug
|
|
Format: console
|
|
File:
|
|
Enabled: false
|
|
Level: info
|
|
Format: json
|
|
Path: ./logs
|
|
Filename: dcg.log
|
|
FileMaxSize: 8 # 10mb
|
|
FileMaxBackups: 30 #
|
|
MaxAge: 7 # 保留7天
|
|
Compress: true # 压缩日志 |