12 lines
414 B
Lua
12 lines
414 B
Lua
|
dofile_once("data/scripts/lib/utilities.lua")
|
||
|
dofile_once("data/scripts/perks/perk.lua")
|
||
|
|
||
|
function death( damage_type_bit_field, damage_message, entity_thats_responsible, drop_items )
|
||
|
local entity_id = GetUpdatedEntityID()
|
||
|
local x, y = EntityGetTransform( entity_id )
|
||
|
|
||
|
EntityLoad("data/entities/projectiles/deck/explosion_giga.xml", x, y)
|
||
|
|
||
|
perk_spawn( x, y, "MAP" )
|
||
|
AddFlagPersistent( "miniboss_robot" )
|
||
|
end
|