| | |
| | | posX = curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_TransPosX)
|
| | | posY = curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_TransPosY)
|
| | |
|
| | | #执行逻辑,应该在入口设置好消耗,这边只是扣除
|
| | | #=======================================================================
|
| | | # isFreedomTransBuff = SkillCommon.GetPlayerBuffBySkillTypeID(curPlayer, ShareDefine.Def_FreedomTransBuffID)
|
| | | # if transportType == ChConfig.Def_Transport_Type_BigMap or not isFreedomTransBuff:
|
| | | # isAutoBuy = curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_TransAutoBuyItem)
|
| | | # #传送支付处理
|
| | | # if not ChPlayer.PayForTransport(curPlayer, transportType, isAutoBuy):
|
| | | # return
|
| | | #=======================================================================
|
| | | |
| | | if not TransCostAfterPrepare(curPlayer):
|
| | | return
|
| | |
|