This commit is contained in:
@@ -2,7 +2,6 @@ package controller
|
||||
|
||||
import (
|
||||
"blazing/common/socket/errorcode"
|
||||
"blazing/cool"
|
||||
"sync/atomic"
|
||||
|
||||
"blazing/logic/service/fight"
|
||||
@@ -78,7 +77,8 @@ func (h Controller) ArenaFightOwner(data *fight.ARENA_FIGHT_OWENR, c *player.Pla
|
||||
}
|
||||
|
||||
if foi.Reason == 0 { //正常获胜
|
||||
addev := int64(int(1) * int(cool.Connected) * int(c.GetSpace().Owner.HostWins) * (int(c.GetSpace().User.Count()) / int(cool.Connected)))
|
||||
// addev := int64(int(1) * int(cool.Connected) * int(c.GetSpace().Owner.HostWins) * (int(c.GetSpace().User.Count()) / int(cool.Connected)))
|
||||
addev := int64(int(1) * int(c.GetSpace().Owner.HostWins) * (int(c.GetSpace().User.Count())))
|
||||
if foi.WinnerId == c.GetInfo().UserID {
|
||||
c.Info.MaxArenaWins += 1
|
||||
c.Info.EVPool += addev
|
||||
|
||||
Reference in New Issue
Block a user