| | |
| | |
|
| | | return True
|
| | |
|
| | |
|
| | | #ntSummon:(3)普通召唤兽,可继承主人基础属性如攻击 |
| | | #ntElf:(4)玩家替身,完全拥有玩家属性和被动功能
|
| | | #ntFairy :(7)同ntSummon,但技能可触发被动功能
|
| | |
|
| | | # ntElf 定义为人物使用对地持续性技能,并且人物可以移动,则需要ntElf做依托物的情况
|
| | | # 那么ntElf执行人物的伤害计算和被动触发效果
|
| | | # 被动技能只处理玩家,宠物,和灵
|
| | |
| | | return attacker
|
| | |
|
| | | npcType = attacker.GetType()
|
| | | if npcType not in [IPY_GameWorld.ntPet, IPY_GameWorld.ntElf]:
|
| | | if npcType not in [IPY_GameWorld.ntPet, IPY_GameWorld.ntElf, IPY_GameWorld.ntFairy]:
|
| | | if attacker.GetIsBoss():
|
| | | return attacker
|
| | | return
|
| | |
| | | # --宠物
|
| | | return attacker
|
| | |
|
| | | if npcType == IPY_GameWorld.ntElf:
|
| | | else:
|
| | | # ntElf 定义为人物使用对地持续性技能,并且人物可以移动,则需要ntElf做依托物的情况
|
| | | # 那么ntElf执行人物的伤害计算和被动触发效果
|
| | | attacker = NPCCommon.GetSummonNPCOwner(IPY_GameWorld.gotPlayer, attacker)
|