mirror of
				https://github.com/ErikasKontenis/SabrehavenServer.git
				synced 2025-10-31 11:56:23 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			309 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			309 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| function onUse(player, item, fromPosition, target, toPosition)
 | |
| 	if not target:isItem() then
 | |
| 		return false
 | |
| 	end
 | |
| 	
 | |
| 	if target:getId() == 4094 then 
 | |
| 		item:transform(4853, 1)
 | |
| 		item:decay()
 | |
| 		target:getPosition():sendMagicEffect(12)
 | |
| 		item:getPosition():sendMagicEffect(13)
 | |
| 		return true
 | |
| 	end
 | |
| 	return false
 | |
| end
 | 
