| | |
| | | import PyGameData
|
| | | import ItemCommon
|
| | | import ItemControler
|
| | | import Item_AddLV
|
| | |
|
| | | #当前副本地图的状态
|
| | | (
|
| | |
| | | tagPlayer.Sit()
|
| | | elif actionType == 1: #打坐结束给奖励
|
| | | reLV = curPlayer.GetLV()
|
| | | reExp = PlayerControl.GetPlayerReExp(curPlayer)
|
| | | worldlv = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_WorldAverageLv)
|
| | | giveLV = eval(IpyGameDataPY.GetFuncCompileCfg('FamilyPartySitAward', 2))
|
| | | if giveLV:
|
| | | Item_AddLV.DoAddLVEx(curPlayer, giveLV, True, True, 0)
|
| | | reLV = curPlayer.GetLV()
|
| | | reExp = PlayerControl.GetPlayerReExp(curPlayer)
|
| | | giveExp = eval(IpyGameDataPY.GetFuncCompileCfg('FamilyPartySitAward'))
|
| | | if giveExp:
|
| | | PlayerControl.PlayerControl(curPlayer).AddExp(giveExp)
|
| | |
| | | DoFBHelp(curPlayer, 0)
|
| | | if curPlayer.GetPlayerAction() == IPY_GameWorld.paSit:
|
| | | curPlayer.Stand()
|
| | | GameWorld.DebugLog(' 传功结束,给经验%s, worldlv=%s' % (giveExp, worldlv))
|
| | | GameWorld.DebugLog(' 传功结束,giveLV=%s, giveExp=%s, worldlv=%s' % (giveLV, giveExp, worldlv))
|
| | | return
|