• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

wrath of the emperor

jurass

New Member
Joined
Jul 7, 2015
Messages
98
Reaction score
3
Location
Poland
this script create only snake god essence , no create next bosses


script :

local bossForms = {
['snake god essence'] = {
text = 'IT\'S NOT THAT EASY MORTALS! FEEL THE POWER OF THE GOD!',
newForm = 'snake thing'
},
['snake thing'] = {
text = 'NOOO! NOW YOU HERETICS WILL FACE MY GODLY WRATH!',
newForm = 'lizard abomination'
},
['lizard abomination'] = {
text = 'YOU ... WILL ... PAY WITH ETERNITY ... OF AGONY!',
newForm = 'mutated zalamon'
}
}

function onKill(player, target)
local targetMonster = target:getMonster()
if not targetMonster then
return true
end

if targetMonster:getName():lower() == 'mutated zalamon' then
Game.setStorageValue(Storage.WrathoftheEmperor.Mission11, -1)
return true
end

local bossConfig = bossForms[targetMonster:getName():lower()]
if not bossConfig then
return true
end

Game.createMonster(bossConfig.newForm, targetMonster:getPosition(), false, true)
player:say(bossConfig.text, TALKTYPE_MONSTER_SAY)
return true
end
 
Scripts normally are well formatted and come in code tags, the above just looks like a wall of text.
Also don't bump a thread more than once every 24 hours.
 
Back
Top