| | |
| | |
|
| | | # 2013-1-3,去除npc攻击造成的伤血记录
|
| | | if attackerOwner != None and attackerOwner.GetGameObjType() == IPY_GameWorld.gotPlayer:
|
| | | AttackCommon.NPCAddObjInHurtList(attackerOwner, curObj, curObjHP_BeforeAttack, lostValue) |
| | | #CheckAddPoisonAtkBuff(skillTypeID, attackerOwner, curObj, tick)
|
| | |
|
| | | if curObjType == IPY_GameWorld.gotPlayer:
|
| | | AttackCommon.OnPVPDamage(attackerOwner, lostValue, curObj, "SkillLostHP")
|
| | |
|
| | | elif curObjType == IPY_GameWorld.gotNPC:
|
| | | AttackCommon.NPCAddObjInHurtList(attackerOwner, curObj, curObjHP_BeforeAttack, lostValue)
|
| | | |
| | | #统一调用攻击结束动作
|
| | | if isDoAttackResult:
|
| | | BaseAttack.DoLogic_AttackResult(buffOwner, curObj, None, tick)
|