| | |
| | | #---------------------------------------------------------------------
|
| | | import IPY_GameWorld
|
| | | import GameWorld
|
| | | import NPCCommon
|
| | | import PlayerControl
|
| | | import PlayerState
|
| | | import ChConfig
|
| | | #import PlayerGameEvent
|
| | | import BaseAttack
|
| | | import OperControlManager
|
| | | import GameObj
|
| | |
| | | # PlayerControl.NotifyCode(curPlayer, "CannotAtk05")
|
| | | # return
|
| | | #===========================================================================
|
| | | |
| | | if vehicle == IPY_GameWorld.pvTruck:
|
| | | PlayerControl.NotifyCode(curPlayer, "CannotAtk06")
|
| | | return
|
| | |
|
| | | sendPack = IPY_GameWorld.IPY_CPlayerBaseAttack()
|
| | | sendPackObjID = sendPack.GetObjID()
|
| | |
| | | # #判断是否敌对关系
|
| | | # if relation[0] != ChConfig.Type_Relation_Enemy :
|
| | | # return
|
| | | # |
| | | # #跳舞钓鱼打断
|
| | | # if curPlayerAction == IPY_GameWorld.paGameEvent:
|
| | | # PlayerGameEvent.StopGameEvent(curPlayer, tick)
|
| | | #
|
| | | # #进度条打断
|
| | | # elif curPlayerAction == IPY_GameWorld.paPreparing:
|