19 lines
508 B
Lua
19 lines
508 B
Lua
require('scripts/globals/abyssea/lights')
|
|
require('scripts/globals/abyssea')
|
|
require('scripts/globals/mixins')
|
|
|
|
g_mixins = g_mixins or {}
|
|
|
|
-----------------------------------
|
|
-- Drops Lights
|
|
-----------------------------------
|
|
g_mixins.drop_lights = function(mob)
|
|
mob:addListener('SPAWN', 'ABYSSEA_SPAWN', function(mobArg)
|
|
xi.abyssea.AddDeathListeners(mobArg)
|
|
mobArg:setDeathType(xi.abyssea.deathType.NONE)
|
|
end)
|
|
|
|
xi.abyssea.AddDeathListeners(mob)
|
|
end
|
|
|
|
return g_mixins.drop_lights
|