Parcourir la source

fix: 玩家等级解锁技能:=重复解锁

wanggangzero il y a 9 mois
Parent
commit
5b8749e5c9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Gameserver/App/process/FightProc.php

+ 1 - 1
Gameserver/App/process/FightProc.php

@@ -879,7 +879,7 @@ class FightProc {
             if ($unlockType != 5) {                                             // 玩家等级
                 continue;
             }
-            if ($unlockId <= $curLevel && !in_array($mo->typeId, ctx()->privateState->skillUnlockRecord)) {
+            if ($unlockId == $curLevel && !in_array($mo->typeId, ctx()->privateState->skillUnlockRecord)) {
                 ctx()->privateState->skillUnlockRecord[] = $mo->typeId;
             }
         }