I want to add Math.Random(1,1000) here:
local reSpawn = CreatureEvent("createBoss")
......................
local data = {
["rat"] = {spawnName = "cave rat"; --[[spawnPosition = Position(x, y, z)]]}
}
function reSpawn.onDeath(creature, corpse, killer, mostDamageKiller, lastHitUnjustified...