金币消耗
This commit is contained in:
parent
ad76eb3828
commit
d08eaf01af
@ -418,7 +418,7 @@ func (this *User) change(session comm.IUserSession, attr string, add int32) (cha
|
||||
code = pb.ErrorCode_GoldNoEnough
|
||||
return
|
||||
}
|
||||
go this.ModuleRtask.TriggerTask(session.GetUserId(), comm.GettaskParam(comm.Rtype68, add))
|
||||
go this.ModuleRtask.TriggerTask(session.GetUserId(), comm.GettaskParam(comm.Rtype68, -(add)))
|
||||
}
|
||||
change.Gold += int64(add)
|
||||
case comm.ResExp:
|
||||
|
Loading…
Reference in New Issue
Block a user