Ir para conteúdo

Líderes

Conteúdo Popular

Exibindo conteúdo com a maior reputação em 05/24/22 em todas áreas

  1. 1 ponto
    Informações: Autor: Ralke (felipe23#1113) Créditos pela liberação do mapa: Mapping & Spriting Community. Clique Aqui para entrar! Essa cidade é pra quem gosta de acessos secretos, muitos andares com armadilhas e passagens que levam até vários locais de caça, é uma boa cidade pra usar como a principal em um servidor de Tibia, juntamente com salas de teleports e outros continentes complementando. Download: macalania.rar IMAGENS:
  2. Sprites do rots

    forkz reagiu a Elpeto por uma resposta no tópico

    1 ponto
    Oi, não sei se estou na area correta mas, essas spr ja vazaram a um bom tempo, Tem gente querendo vender, sendo que vazou, nao acho certo, resolvi disponibilizar pra voces https://www.mediafire.com/file/i8da4kzq2hgzmuv/R_O__T_S_GRAFIKA.rar/file scan: https://www.virustotal.com/gui/file-analysis/ZTlhOGExZTk4Y2JlNjdhNzczYjQyMzM1NWEwYWRkOWY6MTY1MjMxNzI1NQ==
  3. 1 ponto
    na lib tenta deixar assim: monsters_boosteds = { -- Configuracao dos monstros que irão ter exp e loot aumentados [1] = {monster_name = "Dwarf", exp = 0.05, loot = 7}, [2] = {monster_name = "Goblin", exp = 0.05, loot = 5}, [3] = {monster_name = "Orc", exp = 0.25, loot = 15}, [4] = {monster_name = "Dwarf Soldier", exp = 0.35, loot = 10}, --[5] = {monster_name = "NOME DO MONSTRO", exp = "PORCENTAGEM DE EXP", loot = "PORCENTAGEM DO LOOT"}, } o onKill function onKill(cid, target, damage, flags) if not (isMonster(target)) then return true end if (string.lower(getCreatureName(target)) == string.lower(getGlobalStorageValue(monster_name_backup))) then local percent = tonumber(getGlobalStorageValue(74813)) local exp = getExperienceStage(getPlayerLevel(cid), getVocationInfo(getPlayerVocation(cid)).experienceMultiplier) local amount = math.floor(((getMonsterInfo(string.lower(getCreatureName(target))).experience*exp)*percent)) doPlayerAddExperience(cid, amount) addLoot(getCreaturePosition(target), getCreatureName(target), {}) end return true end function addLoot(position, name, ignoredList) local check = false for i = 0, 255 do position.stackpos = i corpse = getTileThingByPos(position) if corpse.uid > 0 and isCorpse(corpse.uid) then check = true break end end if check == true then local newRate = (1 + (getGlobalStorageValue(monster_loot_backup)/100)) * getConfigValue("rateLoot") local mainbp = doCreateItemEx(1987, 1) local monsterLoot = getMonsterLootList(name) for i, loot in pairs(monsterLoot) do if math.random(1, 100000) <= newRate * loot.chance then if #ignoredList > 0 then if (not isInArray(ignoredList, loot.id)) then doAddContainerItem(mainbp, loot.id, loot.countmax and math.random(1, loot.countmax) or 1) end else doAddContainerItem(mainbp, loot.id, loot.countmax and math.random(1, loot.countmax) or 1) end end end doAddContainerItemEx(corpse.uid, mainbp) end end OBS: O EVENTO TEM QUE SER COMEÇADO DE NOVO PARA ATUALIZAR A EXP NA STORAGE, ou seja, testa só depois que dar o boost exp
  4. 1 ponto
    tmj! é que estou sem tempo trabalhando muito, mais vou se consigo resolver o seu problema o mais rápido possível.
  5. 1 ponto
    vou fazer e te respondo até amanhã ou depois de amanhã preciso fazer testes.
Líderes está configurado para São Paulo/GMT-03:00

Informação Importante

Confirmação de Termo