mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-14 14:44:55 +02:00
implement screaming spellbook in rook to skip rook and get first items
This commit is contained in:
@@ -5,6 +5,16 @@ function onUse(player, item, fromPosition, target, toPosition, isHotkey)
|
||||
item:getPosition():sendMagicEffect(CONST_ME_HITBYFIRE)
|
||||
player:say('OUCH!', TALKTYPE_MONSTER_SAY)
|
||||
player:addExperience(4200 - player:getExperience())
|
||||
|
||||
player:addItem(3355,1)
|
||||
player:addItem(3361,1)
|
||||
player:addItem(3559,1)
|
||||
player:addItem(3552,1)
|
||||
player:addItem(3412,1)
|
||||
player:addItem(3273,1)
|
||||
player:addItem(3031,25)
|
||||
player:addItem(3582,3)
|
||||
player:addItem(3003,1)
|
||||
end
|
||||
|
||||
return true
|
||||
|
Reference in New Issue
Block a user