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
 |