mirror of
				https://github.com/ErikasKontenis/SabrehavenServer.git
				synced 2025-10-31 03:56:22 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			260 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			260 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| function onStepIn(creature, item, position, fromPosition)
 | |
| 	local player = creature:getPlayer()
 | |
| 	if not player then
 | |
| 		return true
 | |
| 	end
 | |
| 
 | |
| 	position.z = position.z + 1
 | |
| 	player:teleportTo(position)
 | |
| 	position:sendMagicEffect(CONST_ME_EXPLOSIONAREA)
 | |
| 	return true
 | |
| end
 | 
