From 92f730f4bac31c1872886892310701c6809d002a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 20 一月 2024 16:44:27 +0800
Subject: [PATCH] 10019 【砍树】回合战斗(NPC攻、防、生命字段调整到NPC表扩展;增加按目标生命百分比判断高于或低于时被动增加最终伤害百分比数值;增加首次生命低于x触发被动)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
index 240cb37..2bcdc62 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -4121,6 +4121,10 @@
         #扩展属性
         npcDataEx = GetNPCDataEx(curNPC.GetNPCID())
         if npcDataEx:
+            curNPC.SetMinAtk(npcDataEx.GetMinAtk())
+            curNPC.SetMaxAtk(npcDataEx.GetMaxAtk())
+            curNPC.SetDef(npcDataEx.GetDef())
+            GameObj.SetMaxHP(curNPC, npcDataEx.GetMaxHP())
             GameObj.SetAtkSpeed(curNPC, npcDataEx.GetAtkSpeed())
             GameObj.SetMissRate(curNPC, npcDataEx.GetMissRate())
             GameObj.SetMissDefRate(curNPC, npcDataEx.GetMissDefRate())

--
Gitblit v1.8.0