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.

115 lines
2.6 KiB
YAML

Server:
Debug: false
Listen: 0.0.0.0:11111
UserCenterRpc:
Etcd:
Hosts:
- 127.0.0.1:2379
Key: usercenter.rpc.dev
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]
Zhg:
# 1元=10 Coin (1元40个步兵)
CoinFoodRatio: 4
OutbreakCount: 3
OutbreakBaseCost: 5
OutbreakCostDict:
1: 3 # 步兵
2: 7 # 骑兵
3: 4 # 弓箭手
4: 3 # 法师
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]
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 # 压缩日志