Blazera 8.60
blazera.net
SOBRE O BLAZERA
Um fresh start em um servidor 8.6 clássico, com real map, focado na experiência raiz do Tibia. | Classic Real Map • Fresh Start • Client 8.6 • Old School Gameplay • Active Community
Inicia em:
--
Participar
Solutions
-
MaTTch's post in (Resolvido)[Pedido][Script]Alerta Quando MATAR Certo Monster was marked as the answerlocal function isSummon(cid) return cid ~= getCreatureMaster(cid) or false end local bosses = {"hydra boss"} -- caso for mais de 1 boss, adicione a virgula function onKill(cid, target) if isMonster(target) and not isSummon(target) then for i = 1, #bosses do if getCreatureName(target):lower() == bosses[i]:lower() then return doBroadcastMessage("O jogador "..getCreatureName(cid).." acaba de matar o monstro \""..getCreatureName(target).."\" !", MESSAGE_EVENT_ADVANCE) end end end return true end Você vai ter que registrar no onLogin, e não se esqueça de colocar a Tag.
-
MaTTch's post in (Resolvido)Matar um player e ganhar XP e Dinheiro. was marked as the answerlocal config = { --{exp, item, quantidade} {500000, 2152, 50}, -- menor {1000000, 2160, 1}, -- mesmo {2000000, 2160, 2}, -- maior } function onKill(cid, target) if isPlayer(cid) and isPlayer(target) then if getPlayerIp(cid) == getPlayerIp(target) then return true end if getPlayerLevel(target) < getPlayerLevel(cid) then doPlayerAddItem(cid, config[1][2], config[1][3]) doPlayerAddExp(cid, config[1][1]) elseif getPlayerLevel(target) == getPlayerLevel(cid) then doPlayerAddItem(cid, config[2][2], config[2][3]) doPlayerAddExp(cid, config[2][1]) elseif getPlayerLevel(target) > getPlayerLevel(cid) then doPlayerAddItem(cid, config[3][2], config[3][3]) doPlayerAddExp(cid, config[3][1]) end end return true end
-
MaTTch's post in (Resolvido)[AJUDA] Loot para todos que atacaram o Boss was marked as the answerlocal function isSummon(cid) return cid ~= getCreatureMaster(cid) or false end local item = {1995, 1} -- item, quantidade function onDeath(cid, corpse, killer) for i = 1, #killer do if isPlayer(killer[i]) and not isSummon(cid) then doPlayerAddItem(killer[i], item[1], item[2]) end end return true end
-
MaTTch's post in (Resolvido)como arrumar essa script !HELP! was marked as the answerlocal pos = {x = 385, y = 759, z = 7} local boss_name = {"Nome do Boss 1", "Nome do Boss 2", "Nome do Boss 3", "Etc..."} function onStepIn(cid, item, position, fromPosition) for i = 1, #boss_name do if getCreatureName(cid):lower() ~= boss_name[i]:lower() then doTeleportThing(cid, pos) doSendMagicEffect(getThingPos(cid), 10) end end return true end
-
MaTTch's post in (Resolvido)Propriedades items was marked as the answerNa verdade é possivel sim:
<attribute key="increaseMagicPercent" value="110" /> mas lembre-se que o value deve ser sempre acima de 100 para aumentar a força, e menor de 100 para diminuir.
Exemplo: ali esta 110, entao ele da apenas 10% a mais de porcentagem, pois os 100 representao os 100% do poder do player.
-
MaTTch's post in (Resolvido)ajuda erro [Warning - Houses::loadFromXml] House entry not set for: Unnamed House was marked as the answerVocê tem 2 opções:
1 - colocar as saidas corretamente pelo map editor
2 - dentro do script NomeDoSeuMapa-house.xml aperta ctrl + h, e substitua os entryx="0" entryy="0" entryz="0" pela posição inicial de quando o player morre (TEMPLO) ou de qualquer lugar que queira.