Merge branch 'dev' of git.kingsome.cn:server/game2006go into dev
This commit is contained in:
commit
d21a7da8ed
@ -93,6 +93,10 @@ const (
|
||||
GAME_LOG_TYPE_BACKTASK_USER_ADD_GOLD_END = "backtask.user_add_gold.end"
|
||||
)
|
||||
|
||||
const (
|
||||
MAP_MODE_BOUNTY = 301
|
||||
)
|
||||
|
||||
const (
|
||||
BC_CURRENCY_NAME_ETHEREUM = "Ethereum"
|
||||
BC_CURRENCY_NAME_USDC = "USDC"
|
||||
|
@ -111,4 +111,4 @@ WHERE A.idx > %d AND A.net_id = %d AND A.last_owner_address= '%s' AND A.owner_ad
|
||||
}
|
||||
}
|
||||
c.JSON(200, rspObj)
|
||||
}
|
||||
}
|
||||
|
@ -6,6 +6,8 @@ require q5 v1.0.0
|
||||
|
||||
require f5 v1.0.0
|
||||
|
||||
require jccommon v1.0.0
|
||||
|
||||
require mt v1.0.0
|
||||
|
||||
require mtb v1.0.0 // indirect
|
||||
@ -57,6 +59,8 @@ replace q5 => ../../third_party/q5
|
||||
|
||||
replace f5 => ../../third_party/f5
|
||||
|
||||
replace jccommon => ../jccommon
|
||||
|
||||
replace mt => ./mt
|
||||
|
||||
replace mtb => ./mtb
|
||||
|
@ -7,6 +7,7 @@ import (
|
||||
"mt"
|
||||
"main/common"
|
||||
"main/constant"
|
||||
"jccommon"
|
||||
|
||||
"fmt"
|
||||
"sort"
|
||||
@ -690,6 +691,10 @@ func (this *team) EnemyTeamMustHasRealPlayer() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (this *team) NeedMatchRealPlayer() bool {
|
||||
return q5.ToInt32(this.getModeId()) == jccommon.MAP_MODE_BOUNTY
|
||||
}
|
||||
|
||||
func newTeam() *team {
|
||||
t := new(team)
|
||||
t.state = constant.TEAM_STATE_INIT
|
||||
|
Loading…
x
Reference in New Issue
Block a user