function onAdvance(cid, skill, oldLevel, newLevel)
local TextType = MESSAGE_STATUS_CONSOLE_ORANGE
if (skill == SKILL__LEVEL) then
if(newLevel >= 135) then
if(getPlayerStorageValue(cid, 11500) == -1)then
doPlayerAddOutfit(cid, 136, 3)
doPlayerAddOutfit(cid, 128, 3)
setPlayerStorageValue(cid, 11500, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, agora você tem o Citizen Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 140) then
if(getPlayerStorageValue(cid, 11505) == -1)then
doPlayerAddOutfit(cid, 137, 3)
doPlayerAddOutfit(cid, 129, 3)
setPlayerStorageValue(cid, 11505, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, agora você tem o Hunter Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 175) then
if(getPlayerStorageValue(cid, 11510) == -1)then
doPlayerAddOutfit(cid, 138, 3)
doPlayerAddOutfit(cid, 130, 3)
setPlayerStorageValue(cid, 11510, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, agora você tem o Mage Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 145) then
if(getPlayerStorageValue(cid, 11515) == -1)then
doPlayerAddOutfit(cid, 139, 3)
doPlayerAddOutfit(cid, 131, 3)
setPlayerStorageValue(cid, 11515, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, agora você tem o Knight Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 150) then
if(getPlayerStorageValue(cid, 11520) == -1)then
doPlayerAddOutfit(cid, 140, 3)
doPlayerAddOutfit(cid, 132, 3)
setPlayerStorageValue(cid, 11520, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, agora você tem o Nobleman Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 155) then
if(getPlayerStorageValue(cid, 11525) == -1)then
doPlayerAddOutfit(cid, 141, 3)
doPlayerAddOutfit(cid, 133, 3)
setPlayerStorageValue(cid, 11525, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, agora você tem o Summoner Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 160) then
if(getPlayerStorageValue(cid, 11530) == -1)then
doPlayerAddOutfit(cid, 142, 3)
doPlayerAddOutfit(cid, 134, 3)
setPlayerStorageValue(cid, 11530, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, agora você tem o Warrior Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 165) then
if(getPlayerStorageValue(cid, 11605) == -1)then
doPlayerAddOutfit(cid, 147, 3)
doPlayerAddOutfit(cid, 143, 3)
setPlayerStorageValue(cid, 11605, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, agora você tem o Barbarian Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 170) then
if(getPlayerStorageValue(cid, 11535) == -1)then
doPlayerAddOutfit(cid, 148, 3)
doPlayerAddOutfit(cid, 144, 3)
setPlayerStorageValue(cid, 11535, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, agora você tem o Druid Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 175) then
if(getPlayerStorageValue(cid, 11540) == -1)then
doPlayerAddOutfit(cid, 149, 3)
doPlayerAddOutfit(cid, 145, 3)
setPlayerStorageValue(cid, 11540, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, agora você tem o Wizard Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 180) then
if(getPlayerStorageValue(cid, 11545) == -1)then
doPlayerAddOutfit(cid, 150, 3)
doPlayerAddOutfit(cid, 146, 3)
setPlayerStorageValue(cid, 11545, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, agora você tem o Oriental Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 185) then
if(getPlayerStorageValue(cid, 11550) == -1)then
doPlayerAddOutfit(cid, 155, 3)
doPlayerAddOutfit(cid, 151, 3)
setPlayerStorageValue(cid, 11550, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, agora você tem o Pirate Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 190) then
if(getPlayerStorageValue(cid, 11555) == -1)then
doPlayerAddOutfit(cid, 156, 3)
doPlayerAddOutfit(cid, 152, 3)
setPlayerStorageValue(cid, 11555, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, agora você tem o Assassin Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 195) then
if(getPlayerStorageValue(cid, 11560) == -1)then
doPlayerAddOutfit(cid, 157, 3)
doPlayerAddOutfit(cid, 153, 3)
setPlayerStorageValue(cid, 11560, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, agora você tem o Beggar Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 200) then
if(getPlayerStorageValue(cid, 11565) == -1)then
doPlayerAddOutfit(cid, 158, 3)
doPlayerAddOutfit(cid, 154, 3)
setPlayerStorageValue(cid, 11565, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, agora você tem o Shaman Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 205) then
if(getPlayerStorageValue(cid, 11570) == -1)then
doPlayerAddOutfit(cid, 252, 3)
doPlayerAddOutfit(cid, 251, 3)
setPlayerStorageValue(cid, 11570, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, agora você tem o Norseman Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 210) then
if(getPlayerStorageValue(cid, 11575) == -1)then
doPlayerAddOutfit(cid, 269, 3)
doPlayerAddOutfit(cid, 268, 3)
setPlayerStorageValue(cid, 11575, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, agora você tem o Nightmare Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 215) then
if(getPlayerStorageValue(cid, 11580) == -1)then
doPlayerAddOutfit(cid, 270, 3)
doPlayerAddOutfit(cid, 273, 3)
setPlayerStorageValue(cid, 11580, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, Você foi honrando em receber esse addon, agora você tem o Jester Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 220) then
if(getPlayerStorageValue(cid, 11585) == -1)then
doPlayerAddOutfit(cid, 279, 3)
doPlayerAddOutfit(cid, 278, 3)
setPlayerStorageValue(cid, 11585, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, Você foi honrando em receber esse addon, agora você tem o Brotherhood Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 225) then
if(getPlayerStorageValue(cid, 11590) == -1)then
doPlayerAddOutfit(cid, 288, 3)
doPlayerAddOutfit(cid, 289, 3)
setPlayerStorageValue(cid, 11590, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, Você foi honrando em receber esse addon, agora você tem o Demonhunter Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 230) then
if(getPlayerStorageValue(cid, 11595) == -1)then
doPlayerAddOutfit(cid, 324, 3)
doPlayerAddOutfit(cid, 325, 3)
setPlayerStorageValue(cid, 11595, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, Você foi honrando em receber esse addon, agora você tem o Yalaharian Addons.)
end
end
end
if (skill == SKILL__LEVEL) then
if(newLevel >= 235) then
if(getPlayerStorageValue(cid, 11600) == -1)then
doPlayerAddOutfit(cid, 336, 3)
doPlayerAddOutfit(cid, 335, 3)
setPlayerStorageValue(cid, 11600, 1)
doPlayerSendTextMessage(cid, TextType, Você foi honrando em receber esse addon, Você foi honrando em receber esse addon, agora você tem o Warmaster Addons.)
end
end
end
return true
end