Skip to content

Commit

Permalink
fix: npc eruaran
Browse files Browse the repository at this point in the history
  • Loading branch information
majestyotbr committed Jan 23, 2025
1 parent 5781de7 commit 3753a8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data-otservbr-global/npc/eruaran.lua
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ local function dreamFirst(npc, creature, message, keywords, parameters, node)
if player:getStorageValue(storage + 1) < 1 then
if player:getItemCount(20276) > 0 then
if player:removeItem(20276, 1) then
npcHandler:say(newaddon, npc, creature)
npcHandler:say(newAddon, npc, creature)
player:getPosition():sendMagicEffect(CONST_ME_MAGIC_BLUE)
player:addOutfitAddon(577, 1)
player:addOutfitAddon(577, 1)
Expand All @@ -184,7 +184,7 @@ local function dreamSecond(npc, creature, message, keywords, parameters, node)
if player:getStorageValue(storage) < 1 then
if player:getItemCount(20275) > 0 then
if player:removeItem(20275, 1) then
npcHandler:say(newaddon, npc, creature)
npcHandler:say(newAddon, npc, creature)
player:getPosition():sendMagicEffect(CONST_ME_MAGIC_BLUE)
player:addOutfitAddon(577, 2)
player:addOutfitAddon(577, 2)
Expand Down

0 comments on commit 3753a8a

Please sign in to comment.