| | |
| | | import PlayerGoldGift
|
| | | import PlayerMagicWeapon
|
| | | import ChPlayer
|
| | | import GameObj
|
| | |
|
| | | #---副本配置对应key值---
|
| | | (
|
| | |
| | | playerManager = GameWorld.GetMapCopyPlayerManager()
|
| | | if playerManager.GetPlayerCount() > 0:
|
| | | curPlayer = playerManager.GetPlayerByIndex(0)
|
| | | if curPlayer.GetHP() <=0:
|
| | | if GameObj.GetHP(curPlayer) <=0:
|
| | | ChPlayer.PlayerRebornByType(curPlayer, ChConfig.rebornType_System, tick)
|
| | | else:
|
| | | curPlayer.SetHP(curPlayer.GetMaxHP())
|
| | | GameObj.SetHP(curPlayer, GameObj.GetMaxHP(curPlayer))
|
| | | DoFBHelp(curPlayer, tick)
|
| | |
|
| | | FBCommon.SetFBStep(FB_Step_Fighting, tick)
|