From d23e728433af515400bb33914fd0e4f510f949ff Mon Sep 17 00:00:00 2001 From: sven-n Date: Thu, 13 Jun 2024 22:52:59 +0200 Subject: [PATCH] Fixed kalima gate npc selection --- src/GameLogic/PlayerActions/Items/LostMapDroppedPlugIn.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GameLogic/PlayerActions/Items/LostMapDroppedPlugIn.cs b/src/GameLogic/PlayerActions/Items/LostMapDroppedPlugIn.cs index 32dc37d6d..e88956903 100644 --- a/src/GameLogic/PlayerActions/Items/LostMapDroppedPlugIn.cs +++ b/src/GameLogic/PlayerActions/Items/LostMapDroppedPlugIn.cs @@ -58,7 +58,7 @@ public async ValueTask HandleItemDropAsync(Player player, Item item, Point targe return; } - var gateNpcNumber = GateNpcStartNumber + item.Level; + var gateNpcNumber = GateNpcStartNumber + item.Level - 1; var gateNpcDef = player.GameContext.Configuration.Monsters.FirstOrDefault(def => def.Number == gateNpcNumber); if (gateNpcDef is null) {