mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
14 lines
443 B
Lua
Executable file
14 lines
443 B
Lua
Executable file
-- crystalcavern note: not so sure about this one, its underworld at an area that seems to have terrain above it.. but it is a pit.. so this is here in case?
|
|
|
|
function EnterRegion(Zone, Spawn, RegionType)
|
|
-- RegionType 2 is 'lava' or 'death' regions, RegionType 1 is water
|
|
|
|
local invul = IsInvulnerable(Spawn)
|
|
if invul == true then
|
|
return 0
|
|
end
|
|
|
|
if RegionType == 2 then
|
|
KillSpawn(Spawn, null, 1)
|
|
end
|
|
end
|