| | |
| | | # SetIsNeedProcess(False) 应该及时清理仇恨,回血可以不用即时
|
| | | curNPC.GetNPCAngry().Clear()
|
| | |
|
| | | # if curNPC.GetHP() != curNPC.GetMaxHP():
|
| | | # if GameObj.GetHP(curNPC) != GameObj.GetMaxHP(curNPC):
|
| | | # if curNPC.GetIsBoss() != ChConfig.Def_NPCType_Ogre_Normal:
|
| | | # return
|
| | | #
|
| | |
| | | curPlayer = GameWorld.GetObj(hurtObjID, IPY_GameWorld.gotPlayer)
|
| | |
|
| | | #无法查找玩家,或者已经死亡
|
| | | if curPlayer == None or curPlayer.GetHP() <= 0:
|
| | | if curPlayer == None or GameObj.GetHP(curPlayer) <= 0:
|
| | | continue
|
| | |
|
| | | if srcPlayer and curPlayer.GetID() == srcPlayer.GetID():
|
| | |
| | | continue
|
| | |
|
| | | #仇恨值
|
| | | curAngryValue = curAngry.GetAngryValue()
|
| | | curAngryValue = GameObj.GetAngryValue(curAngry)
|
| | | if curAngryValue == 0:
|
| | | continue
|
| | |
|