| | |
| | | import GameObj
|
| | | import NPCCommon
|
| | | import GameLogic_SealDemon
|
| | | import GameLogic_ZhuXianBoss
|
| | | import GameLogic_ZhuXianTower
|
| | | import GameLogic_AllFamilyBoss
|
| | | import GameLogic_HorsePetBoss
|
| | |
|
| | | ## GM命令执行入口
|
| | | # @param curPlayer 当前玩家
|
| | |
| | | lineID = gameWorld.GetPropertyID() - 1
|
| | | gameWorld.SetGameWorldDict(GameLogic_SealDemon.FBDict_RemainHP % lineID, 1)
|
| | | return
|
| | | |
| | | if curPlayer.GetMapID() == ChConfig.Def_FBMapID_ZhuXianBoss:
|
| | | #诛仙BOSS击杀怪
|
| | | gameWorld = GameWorld.GetGameWorld()
|
| | | lineID = gameWorld.GetPropertyID() - 1
|
| | | gameWorld.SetGameWorldDict(GameLogic_ZhuXianBoss.FBDict_RemainHP % lineID, 1)
|
| | | return
|
| | | if curPlayer.GetMapID() == ChConfig.Def_FBMapID_ZhuXianTower:
|
| | | #诛仙塔击杀怪
|
| | | GameWorld.GetGameFB().SetGameFBDict(GameLogic_ZhuXianTower.FBDict_RemainHP, 1)
|
| | | return
|
| | | if curPlayer.GetMapID() == ChConfig.Def_FBMapID_AllFamilyBoss:
|
| | | #仙盟BOSS击杀怪
|
| | | GameWorld.GetGameWorld().SetGameWorldDict(GameLogic_AllFamilyBoss.FBDict_RemainHP, 1)
|
| | | return
|
| | | if curPlayer.GetMapID() == ChConfig.Def_FBMapID_HorsePetBoss:
|
| | | #骑宠BOSS击杀怪
|
| | | gameWorld = GameWorld.GetGameWorld()
|
| | | lineID = gameWorld.GetPropertyID() - 1
|
| | | gameWorld.SetGameWorldDict(GameLogic_HorsePetBoss.FBDict_RemainHP % lineID, 1)
|
| | | return
|
| | | isMapAllNPC = 0
|
| | | if len(playerList) > 0:
|
| | | isMapAllNPC = playerList[0]
|
| | |
| | | return
|
| | | if curNPC.GetType() not in [IPY_GameWorld.ntMonster]:
|
| | | return
|
| | | |
| | | if not curNPC.GetVisible():
|
| | | return
|
| | | curHP = GameObj.GetHP(curNPC)
|
| | | AttackCommon.NPCAddObjInHurtList(curPlayer, curNPC, curHP, curHP)
|
| | |
|