Commit 0e9f5bca authored by chenweijian's avatar chenweijian

3.7

parent fccffdde
......@@ -80,8 +80,11 @@ func GetGroupPowerMaxMemberNum(model *domain.Model, familyId uint64, groupPowerG
//检查是否是贵族
if flag, err := noble_m.CheckNobleLevel(model.Db, ownerId, 6); err != nil {
} else if flag {
newNumMap := map[groupPower_e.GroupPowerGrade]int{groupPower_e.GroupPowerGrade0: 400, groupPower_e.GroupPowerGrade1: 600,
groupPower_e.GroupPowerGrade2: 1000, groupPower_e.GroupPowerGrade3: 1400}
newNumMap := map[groupPower_e.GroupPowerGrade]int{
groupPower_e.GroupPowerGrade0: 400,
groupPower_e.GroupPowerGrade1: 600,
groupPower_e.GroupPowerGrade2: 1000,
groupPower_e.GroupPowerGrade3: 1400}
if newNum, ok := newNumMap[groupPowerGrade]; ok {
maxNum = newNum
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment