【娃娃机抓取概率公式】
https://www.tapd.cn/31044302/prong/stories/view/1131044302001001287
This commit is contained in:
parent
dde83e46a6
commit
7343ab7ec0
|
@ -56,6 +56,10 @@ func (this *PolicyClawdoll) OnStart(s *base.Scene) {
|
||||||
|
|
||||||
func (this *PolicyClawdoll) OnStop(s *base.Scene) {
|
func (this *PolicyClawdoll) OnStop(s *base.Scene) {
|
||||||
logger.Logger.Trace("(this *PolicyClawdoll) OnStop , sceneId=", s.GetSceneId())
|
logger.Logger.Trace("(this *PolicyClawdoll) OnStop , sceneId=", s.GetSceneId())
|
||||||
|
sceneEx, ok := s.ExtraData.(*SceneEx)
|
||||||
|
if ok {
|
||||||
|
sceneEx.ShutDown()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *PolicyClawdoll) OnTick(s *base.Scene) {
|
func (this *PolicyClawdoll) OnTick(s *base.Scene) {
|
||||||
|
|
Loading…
Reference in New Issue