| | |
| | | fbFightPower = GameWorld.GetGameFB().GetGameFBDictByKey(ChConfig.FBPD_HelpBattleFBFightPower)
|
| | | fbBaseHurt = GameWorld.GetGameFB().GetGameFBDictByKey(ChConfig.FBPD_HelpBattleFBBaseHurt)
|
| | | helpBattleFormatKey = "HelpRobot_Def"
|
| | | if atkObjType == IPY_GameWorld.gotNPC and PetControl.IsPetNPC(atkObj):
|
| | | mustHit = True
|
| | |
|
| | | #命中公式 攻击方类型不同,公式不同
|
| | | hitFormula = ReadChConfig.GetChConfig('CalcCanHit')
|
| | |
| | | return "HelpRobot"
|
| | | if obj.GetType() in ChConfig.PVPNPCTypeList:
|
| | | return "P"
|
| | | if obj.GetType() == IPY_GameWorld.ntPet:
|
| | | return "Pet"
|
| | |
|
| | | objType = obj.GetGameNPCObjType()
|
| | | if objType == IPY_GameWorld.gnotPet:
|
| | |
| | | # @param None
|
| | | # @return 攻击形式字符串
|
| | | def GetAtkState(atkObj, defObj):
|
| | | isPet = PetControl.IsPet(atkObj)
|
| | | isPet = PetControl.IsPetNPC(atkObj)
|
| | | if IsPVENPCObj(atkObj) or IsPVENPCObj(defObj):
|
| | | return 'PVE_%s' if not isPet else 'PetVE_%s'
|
| | |
|