Skip to content

Commit

Permalink
Fixed kalima gate npc selection
Browse files Browse the repository at this point in the history
  • Loading branch information
sven-n committed Jun 13, 2024
1 parent 04b014e commit d23e728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GameLogic/PlayerActions/Items/LostMapDroppedPlugIn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit d23e728

Please sign in to comment.