update
This commit is contained in:
parent
ee97d178ca
commit
e357ddf671
@ -12,7 +12,6 @@ import (
|
||||
"go_dreamfactory/sys/configure"
|
||||
"go_dreamfactory/sys/db"
|
||||
"go_dreamfactory/utils"
|
||||
"math"
|
||||
"strings"
|
||||
"sync"
|
||||
"time"
|
||||
@ -1148,7 +1147,7 @@ func (this *User) ConsumePsAddExp(session comm.IUserSession, ps int) (addExp int
|
||||
return
|
||||
}
|
||||
//体力消耗,增加玩家经验
|
||||
addExp = int32(math.Abs(float64(ps))) * ggd.FightPs
|
||||
addExp = int32(ps) * ggd.FightPs
|
||||
user.Exp += int64(addExp)
|
||||
|
||||
attrs := make(map[string]int32, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user