refactor(common/data/xmlres): 注释掉未使用的MonsterMap配置变量 - 将MonsterMap配置变量注释掉,因为当前不再使用该配置 - 相应地注释掉了初始化代码中的MonsterMap赋值逻辑 feat(logic/controller): 统一CanFight方法返回值为ErrorCode - 修改PlayerFightBoss等战斗控制器中的Can
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
)
|
||||
|
||||
func (s *Space) getwerboss() {
|
||||
|
||||
println("天气变化地图", s.Name, "pos", s.MapBossInfo.Pos, "wer", s.Weather)
|
||||
switch s.ID {
|
||||
case 12:
|
||||
|
||||
@@ -29,7 +29,7 @@ func (s *Space) getwerboss() {
|
||||
|
||||
}
|
||||
t.INFO = append(t.INFO, s.MapBossInfo)
|
||||
println("天气变化地图", s.Name, "pos", s.MapBossInfo.Pos, "wer", s.Weather)
|
||||
|
||||
s.Broadcast(nil, 2021, &t)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user