Skip to content

Commit

Permalink
refactor: sweetheart ring to core and adjust conditional in romantic …
Browse files Browse the repository at this point in the history
…ring script.
  • Loading branch information
omarcopires authored and elsongabriel committed Mar 18, 2024
1 parent 4551f52 commit 00516b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
20 changes: 0 additions & 20 deletions data-otservbr-global/scripts/actions/other/sweet_heart.lua

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ local sweetheartRing = Action()
function sweetheartRing.onUse(player, item, fromPosition, target, toPosition, isHotkey)
if item == player:getSlotItem(CONST_SLOT_RING) then
player:getPosition():sendMagicEffect(CONST_ME_HEARTS)
return true
end
return false

return true
end

sweetheartRing:id(21955)
Expand Down

0 comments on commit 00516b8

Please sign in to comment.