| | |
| | | # @change: "2015-04-11 15:30" hxp 增加最终伤害逻辑
|
| | | # @change: "2016-02-26 17:00" hxp 增加PVP伤害统计
|
| | | #------------------------------------------------------------------------------
|
| | | """Version = 2016-02-26 17:00"""
|
| | | #"""Version = 2016-02-26 17:00"""
|
| | | #---------------------------------------------------------------------
|
| | | import NPCCommon
|
| | | import GameWorld
|
| | | import AttackCommon
|
| | | import IPY_GameWorld
|
| | | import PlayerControl
|
| | | import SkillCommon
|
| | | import ChConfig
|
| | | import ChEquip
|
| | | import SkillShell
|
| | | import FBLogic
|
| | | import GameObj
|
| | | import ChNPC
|
| | | #---------------------------------------------------------------------
|
| | |
|
| | | #---------------------------------------------------------------------
|
| | |
| | | #召唤兽死亡
|
| | | if GameObj.GetHP(curTagSummon) <= 0:
|
| | | NPCCommon.OnPlayerAttackNPCDie(curTagSummon, curPlayer, skill)
|
| | | FBLogic.DoFB_Player_KillNPC(curPlayer , curTagSummon , tick)
|
| | | #获得控制器
|
| | | curTagNormalNPCControl = NPCCommon.NPCControl(curTagSummon)
|
| | | curTagNormalNPCControl.SetKilled()
|
| | | |
| | | else:
|
| | | ChNPC.OnNPCAttacked(curPlayer, curTagSummon, skill, tick)
|
| | | |
| | | return True
|