EQ2EMu/server/RegionScripts/exp10_dun_shissarraid01/death.lua
2024-04-07 18:28:29 +00:00

12 lines
284 B
Lua
Executable file

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