| | |
| | | import PlayerExpandPackCfgMgr
|
| | | import EventReport
|
| | | import PlayerCoat
|
| | | import PlayerSuccess
|
| | | import PlayerGatherSoul
|
| | | import PlayerArrestTask
|
| | | import PlayerRune
|
| | | import IpyGameDataPY
|
| | |
| | | def EventRespons_MagicWeaponLV(curPlayer, mwID, lv):
|
| | | # 法宝解锁进度
|
| | | RunQuestEvent(curPlayer, "magicweaponlv", '%s_%s'%(mwID, lv), Def_RunQuestType_RunAll)
|
| | | return
|
| | |
|
| | | def EventRespons_MagicWeaponFBPassLV(curPlayer, mwID, lv):
|
| | | # 魔族法宝关卡进度
|
| | | RunQuestEvent(curPlayer, "mwfbpasslv", '%s_%s'%(mwID, lv), Def_RunQuestType_Normal)
|
| | | return
|
| | |
|
| | | def EventRespons_SuccessFinish(curPlayer, succID):
|
| | |
| | | # 符印交换
|
| | | if PlayerRune.SwitchRune(curPlayer, pack_SrcBackpack, pack_DesBackPack, pack_SrcIndex, pack_DestIndex):
|
| | | return
|
| | | |
| | | # 聚魂交换
|
| | | if PlayerGatherSoul.SwitchGatherSoul(curPlayer, pack_SrcBackpack, pack_DesBackPack, pack_SrcIndex, pack_DestIndex):
|
| | | return
|
| | |
|
| | | #ʱװ
|
| | | if PlayerCoat.SwitchCoat(curPlayer, pack_SrcBackpack, pack_DesBackPack, pack_SrcIndex, pack_DestIndex):
|