Quellcode durchsuchen

提交战斗切磋问题

SCFC vor 1 Jahr
Ursprung
Commit
71f2a64d7c

+ 1 - 0
script/module/combat/CombatLogic.lua

@@ -63,6 +63,7 @@ FieldsCombat = {
 	lv = 1, name = 1, head = 1, headFrame = 1, unionUuid = 1, lastLogoutTime = 1, 
 	combatHero = 1, heroBag = 1, moshou = 1, technology=1, chengjiu=1, realmLv = 1, talismanData = 1,
 	headList = 1, headFrameList = 1, bodyList = 1, chenghaoList = 1,animationList =1,backgroundList =1,
+	skinBag = 1,
 }
 
 COMBAT_CACHE = COMBAT_CACHE or {}

+ 1 - 1
script/module/present/OpenServerActPowerUp.lua

@@ -100,7 +100,7 @@ local function ActPowerUp_GetDBIDState(human, nID)
     end
 
     if not tDBPrize[nID] then
-        human.db.PowerGift[nID] = POWERGIFT_STATE_NONE
+        tDBPrize[nID] = POWERGIFT_STATE_NONE
     end
 
     return tDBPrize[nID]