8358 【主干】【后端】坐骑修改(删除无用代码)
| | |
| | | # @remarks 函数详细说明.
|
| | | def OnExec(curPlayer, msgList):
|
| | | if len(msgList) not in [1,2]:
|
| | | GameWorld.DebugAnswer(curPlayer, "ActiveHorse 第几只灵宠 阶级")
|
| | | GameWorld.DebugAnswer(curPlayer, "ActivePet 第几只灵宠 阶级")
|
| | | return
|
| | |
|
| | | OpenFunc.DoGMOpenFunc(curPlayer, ShareDefine.GameFuncID_Pet)
|
| | |
| | | import GivePlayerExpSelf
|
| | | import SetFabao
|
| | | import ActivePet
|
| | | import ActiveHorse
|
| | | import MakeItemCount
|
| | | import PlayerControl
|
| | | import ChConfig
|
| | |
| | | # 4.激活宠物 坐骑
|
| | | for i in range(1, 6):
|
| | | ActivePet.OnExec(curPlayer, [i, 5])
|
| | | ActiveHorse.OnExec(curPlayer, [i, 5])
|
| | |
|
| | | # 5.给基础属性
|
| | | for attrID in xrange(201, 206):
|