ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -3708,7 +3708,7 @@ fbFightPower = ipyData.GetFightPowerMin() baseHurt = ipyData.GetRobotBaseHurt() hpCoefficient = ipyData.GetRobotHPCoefficient() maxHP = int(baseHurt * fightPower / fbFightPower * hpCoefficient) maxHP = int(eval(IpyGameDataPY.GetFuncCompileCfg("HelpBattleRobot", 2))) GameWorld.DebugLog("设置助战机器人属性: objID=%s,fightPower=%s,maxHP=%s" % (curNPC.GetID(), fightPower, maxHP)) GameObj.SetMaxHP(curNPC, maxHP) GameObj.SetHP(curNPC, maxHP)