chapter.go 632 B

12345678910111213141516171819202122232425
  1. package constants
  2. // // 章节主关卡
  3. // func IsChapterMap(id uint) bool {
  4. // return (id < MapId_Fortress)
  5. // }
  6. // func IsActivityMap(id uint) bool {
  7. // return (id >= MapId_Fortress && id < MapId_OutpostRate)
  8. // }
  9. // // 章节子关卡
  10. // func IsOutpostMap(id uint) bool {
  11. // return (id > MapId_OutpostRate)
  12. // }
  13. // // IsChapterSupportMultiReward 判断传入章节是否支持多倍奖励
  14. // func IsChapterSupportMultiReward(chapterID uint) bool {
  15. // switch chapterID {
  16. // // 佣兵要塞 九层妖塔 奇诡皇陵
  17. // case MapId_Fortress, MapId_DemonTower, MapId_Mausoleum:
  18. // return true
  19. // }
  20. // return false
  21. // }