fix
This commit is contained in:
parent
9a997c410c
commit
2fc92b025b
@ -104,6 +104,7 @@ func (this *ActivityApi) RollDice(c *gin.Context) {
|
||||
}
|
||||
|
||||
fullgrid := false
|
||||
scoreaward := true
|
||||
if len(*items) > 0 {
|
||||
gridawarded := false
|
||||
userAwardgrids := user.GetAwardGrids()
|
||||
@ -125,8 +126,12 @@ func (this *ActivityApi) RollDice(c *gin.Context) {
|
||||
if len(awardgridids) <= len(userAwardgrids) {
|
||||
fullgrid = true
|
||||
}
|
||||
|
||||
scoreaward = false
|
||||
}
|
||||
} else {
|
||||
}
|
||||
|
||||
if scoreaward {
|
||||
if err, ok := service.Buff.HasBuffEffect(s.GetAccountId(),
|
||||
constant.BUFF_EFFECT_SCORE_CARD_X3); err == nil {
|
||||
if ok {
|
||||
|
Loading…
x
Reference in New Issue
Block a user