| | |
| | | import PyGameData
|
| | | import BaseAttack
|
| | | import NPCCommon
|
| | | import PetControl
|
| | | import ItemCommon
|
| | | import FBCommon
|
| | |
|
| | |
| | | # buff # 筛选buffType 否则NPC没有此接口会报错
|
| | | for buffType in [IPY_GameWorld.bfBuff, IPY_GameWorld.bfDeBuff, IPY_GameWorld.bfProcessBuff
|
| | | , IPY_GameWorld.btPassiveBuf, IPY_GameWorld.bfActionBuff, IPY_GameWorld.bfProcessDeBuff]:
|
| | | |
| | | if buffType == IPY_GameWorld.btPassiveBuf and gameObj.GetGameObjType() == IPY_GameWorld.gotNPC:
|
| | | # NPC只有宠物有被动BUFF
|
| | | if not PetControl.IsPet(gameObj):
|
| | | continue
|
| | |
|
| | | buffTuple = SkillCommon.GetBuffManagerByBuffType(gameObj, buffType)
|
| | | #通过类型获取目标的buff管理器为空,则跳出
|