mirror of
				https://github.com/ErikasKontenis/SabrehavenServer.git
				synced 2025-10-31 11:56:23 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			371 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			371 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| function onStepIn(creature, item, position, fromPosition)
 | |
| 	if creature:isPlayer() and creature:getPlayer():isPaladin() and Game.isItemThere({x = 32673, y = 32083, z = 08}, 3349) then
 | |
| 		item:transform(430, 1)
 | |
| 		item:decay()
 | |
| 	end
 | |
| end
 | |
| 
 | |
| function onStepOut(creature, item, position, fromPosition)
 | |
| 	if creature:isPlayer() then 
 | |
| 		item:transform(431, 1)
 | |
| 		item:decay()
 | |
| 	end
 | |
| end
 | 
