mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-14 22:54:53 +02:00
99% poi quest done. Missing bureaucrats npcs, maybe some exit tps and quest log
This commit is contained in:
11
data/movements/scripts/pits_of_inferno/trap.lua
Normal file
11
data/movements/scripts/pits_of_inferno/trap.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
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
|
Reference in New Issue
Block a user