hxp
2023-11-08 1a5b56fd1738f4b01831a12587e1e34ee5def2ff
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -1275,10 +1275,9 @@
    elif ChConfig.IsGameBoss(npcData):
        GameWorld.ErrLog("Boss没有掉落物品,NPCID=%s" % (npcID), dropPlayer.GetPlayerID())
        
    if tianxuanState:
        GameWorld.DebugLog("    去除天玄丹buff", playerID)
        tick = GameWorld.GetGameWorld().GetTick()
        BuffSkill.DelBuffBySkillID(dropPlayer, ChConfig.Def_SkillID_TianxuanBuff, tick)
    if tianxuanBuff and tianxuanState:
        GameWorld.DebugLog("    去除天玄丹buff: Layer=%s" % tianxuanBuff.GetLayer(), playerID)
        BuffSkill.SetBuffLayer(dropPlayer, tianxuanBuff, max(tianxuanBuff.GetLayer() - 1, 0), True, ChConfig.Def_SkillID_TianxuanBuff, isSync=True)
        
    return dropIDList, auctionIDList, dropMoneyCnt, moneyValue