Maintain fee #38

Merged
merged 5 commits into from Aug 25, 2012

Conversation

Projects
None yet
1 participant
@crhan
Collaborator

crhan commented Aug 25, 2012

维护费用功能增加完成

  1. 通过在地图 yml 文件中增加一行 maintain_fee: True 激活此功能
  2. 维护费用自动计算, 通过地图的全部星球 max 属性相加折半后再除以现在在线的玩家数量

crhan added some commits Aug 25, 2012

增加维修费用的地图接口
1. 维修费用动态调整, base_line 设定为地图上星球最大兵力的总和(m.map_max)的一半再除以玩家数量
2. 地图上通过增加一行 `maintain_fee: True` 打开维修费用限制

crhan added a commit that referenced this pull request Aug 25, 2012

@crhan crhan merged commit 6613544 into master Aug 25, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment