mirror of
https://github.com/opentibiabr/canary
synced 2026-08-16 06:26:09 -04:00
- Previously, players were not being removed from the room upon killing the boss, as the relevant script was confined to rlmap only. This update ensures its functionality across any datapack. - Hirelings are now accessible beyond rlmap environments. - Addressed an issue with the loading of VIP days library. - Relocated the large sea shell asset to the core. - Implemented VIP status check and associated actions. - Transferred weapons scripts to the core.
12 lines
389 B
Lua
12 lines
389 B
Lua
local forgeKill = CreatureEvent("ForgeSystemMonster")
|
|
|
|
function forgeKill.onDeath(creature, corpse, killer, mostDamageKiller, unjustified, mostDamageUnjustified)
|
|
local targetMonster = creature:getMonster()
|
|
if not targetMonster then
|
|
return true
|
|
end
|
|
|
|
return ForgeMonster:onDeath(creature, corpse, killer, mostDamageKiller, unjustified, mostDamageUnjustified)
|
|
end
|
|
|
|
forgeKill:register()
|