|
|
|
Server:
|
|
|
|
Debug: false
|
|
|
|
Listen: 0.0.0.0:8888
|
|
|
|
UserCenterRpc:
|
|
|
|
Etcd:
|
|
|
|
Hosts:
|
|
|
|
- noahlan.cn:2379
|
|
|
|
Key: usercenter.rpc
|
|
|
|
NonBlock: true
|
|
|
|
Kafka:
|
|
|
|
Danmaku:
|
|
|
|
Addr: [ "noahlan.cn:9093" ]
|
|
|
|
Topic: "danmaku"
|
|
|
|
ConsumerGroup: "msgToPush"
|
|
|
|
Gift:
|
|
|
|
Addr: [ "noahlan.cn:9093" ]
|
|
|
|
Topic: "gift"
|
|
|
|
ConsumerGroup: "giftToPush"
|
|
|
|
GuardBuy:
|
|
|
|
Addr: [ "noahlan.cn:9093" ]
|
|
|
|
Topic: "guardBuy"
|
|
|
|
ConsumerGroup: "guardBuyConsumerG"
|
|
|
|
RewardPool:
|
|
|
|
Addr: [ "noahlan.cn:9093" ]
|
|
|
|
Topic: "rewardPool"
|
|
|
|
ConsumerGroup: "rewardPoolConsumerG"
|
|
|
|
UserCoin:
|
|
|
|
Addr: [ "noahlan.cn:9093" ]
|
|
|
|
Topic: "notify-user-coin"
|
|
|
|
ConsumerGroup: "notifyUserCoinConsumerG"
|
|
|
|
Game:
|
|
|
|
# 30213831837876229 地球
|
|
|
|
AdminUserId: [30096265903603717, 30213831837876229]
|
|
|
|
DefaultRooms:
|
|
|
|
- ID: 1
|
|
|
|
GameType: ZHG
|
|
|
|
- ID: 2
|
|
|
|
GameType: ZHGZD
|
|
|
|
- ID: 3
|
|
|
|
GameType: ZHGWW2
|
|
|
|
- ID: 4
|
|
|
|
GameType: TEST
|
|
|
|
- ID: 5
|
|
|
|
GameType: ZHGMang
|
|
|
|
Zhg:
|
|
|
|
# 1元=10 Coin (1元40个步兵)
|
|
|
|
CoinFoodRatio: 4
|
|
|
|
OutbreakCount: 3
|
|
|
|
OutbreakMaxCount: 30 # 5*4=20字符 4x10=40 (最多40兵)
|
|
|
|
OutbreakBaseCost: 5
|
|
|
|
OutbreakCostDict:
|
|
|
|
1: 1 # 步兵
|
|
|
|
2: 2.34 # 骑兵
|
|
|
|
3: 1.34 # 弓箭手
|
|
|
|
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 ]
|
|
|
|
# 打call
|
|
|
|
RestoreHealth: [31485, 31641, 31212, 31037, 31278 ]
|
|
|
|
SupportSkill: [ ]
|
|
|
|
# 告白气球,这个好诶
|
|
|
|
Paratroops: [ 31702, 31639, 30758, 30971, 31213, 31478 ]
|
|
|
|
# 小花花
|
|
|
|
Reborn: [ 31036, 31476 ]
|
|
|
|
# 牛哇牛哇
|
|
|
|
Overtime: [ 31039, 31477, 31225, 31214, 31202 ]
|
|
|
|
# 粉丝团灯牌
|
|
|
|
Commander: [ 31164,31738 ]
|
|
|
|
# 盛典门票
|
|
|
|
Tank: [ 30727, 32051, 32057 ]
|
|
|
|
TankRatio: 0.1
|
|
|
|
TankMulThreshold: 40000
|
|
|
|
TankMulRatio: 0.2
|
|
|
|
OvertimeRatio: 6
|
|
|
|
Zhgmang:
|
|
|
|
GiftEffect:
|
|
|
|
# 辣条
|
|
|
|
Free: [ 1 ]
|
|
|
|
# 退! 快乐水
|
|
|
|
ClearScreen: [32057]
|
|
|
|
# 随机加成 粉丝团灯牌
|
|
|
|
RandomAddon: [31164,31738]
|
|
|
|
Log:
|
|
|
|
Console:
|
|
|
|
Level: info
|
|
|
|
Format: console
|
|
|
|
File:
|
|
|
|
Enabled: true
|
|
|
|
Level: info
|
|
|
|
Format: json
|
|
|
|
Path: ./logs
|
|
|
|
Filename: dcg.log
|
|
|
|
FileMaxSize: 8 # 10mb
|
|
|
|
FileMaxBackups: 30 #
|
|
|
|
MaxAge: 7 # 保留7天
|
|
|
|
Compress: true # 压缩日志
|