| | |
| | | if attacker.GetGameObjType() != IPY_GameWorld.gotPlayer:
|
| | | return None
|
| | |
|
| | | useSkillTagID = attacker.GetUseSkillTagID()
|
| | | useSkillTagType = attacker.GetUseSkillTagType()
|
| | | |
| | | curTag = GameWorld.GetObj(useSkillTagID, useSkillTagType)
|
| | | curTag = None
|
| | | if attacker.GetAttackMode() == IPY_GameWorld.amContest:
|
| | | # 单一目标锁定模式
|
| | | curTag = GameWorld.GetObj(attacker.SetDict(ChConfig.Def_PlayerKey_SelectObjID), |
| | | attacker.SetDict(ChConfig.Def_PlayerKey_SelectObjType))
|
| | | |
| | | if not curTag:
|
| | | return None
|
| | | useSkillTagID = attacker.GetUseSkillTagID()
|
| | | useSkillTagType = attacker.GetUseSkillTagType()
|
| | | |
| | | curTag = GameWorld.GetObj(useSkillTagID, useSkillTagType)
|
| | | if not curTag:
|
| | | return None
|
| | |
|
| | | if SkillShell.GetSkillAffectTag(curSkill) == ChConfig.Def_UseSkillTag_CanAttackNPC:
|
| | | if NPCCommon.GetNpcObjOwnerIsPlayer(curTag):
|