Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: sweetheart ring to core and adjust conditional in romantic …
Browse files Browse the repository at this point in the history
…ring script.
omarcopires authored and elsongabriel committed Mar 18, 2024
1 parent 4551f52 commit 00516b8
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
@@ -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)

0 comments on commit 00516b8

Please sign in to comment.