Ir para conteúdo

Wellinton faus

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    Wellinton faus deu reputação a Pepeco em Recompensa ao matar monstro   
    A script funciona assim, caso você mate algum monstro configurável, você vai ganhar um item de recompensa.
     
     
  2. Gostei
    Wellinton faus deu reputação a Biinhow em (Resolvido)Cor Azul no Heal da potion.   
    @ElizeuAlmeida, vê se funciona esse:
    local config = { removeOnUse = "no", usableOnTarget = "yes", -- can be used on target? (fe. healing friend) splashable = "no", realAnimation = "no", -- make text effect visible only for players in range 1x1 healthMultiplier = 1.0, manaMultiplier = 1.0 } config.removeOnUse = getBooleanFromString(config.removeOnUse) config.usableOnTarget = getBooleanFromString(config.usableOnTarget) config.splashable = getBooleanFromString(config.splashable) config.realAnimation = getBooleanFromString(config.realAnimation) local POTIONS = { [8704] = {empty = 7636, splash = 2, health = {50, 100}}, -- small health potion [7618] = {empty = 7636, splash = 2, health = {100, 200}}, -- health potion [7588] = {empty = 7634, splash = 2, health = {200, 400}, level = 50, vocations = {3, 4, 7, 8}, vocStr = "knights and paladins"}, -- strong health potion [7591] = {empty = 7635, splash = 2, health = {500, 700}, level = 80, vocations = {4, 8}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 2, health = {1450, 1500}, level = 130, vocations = {4, 8}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 7, mana = {100, 200}}, -- mana potion [7589] = {empty = 7634, splash = 7, mana = {110, 190}, level = 50, vocations = {1, 2, 3, 5, 6, 7}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 7, mana = {1050, 1200}, level = 80, vocations = {1, 2, 5, 6}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 3, health = {1300, 1360}, mana = {230, 380}, level = 80, vocations = {3, 7}, vocStr = "paladins"} -- great spirit potion } local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) local potion = POTIONS[item.itemid] if(not potion) then return false end if(not isPlayer(itemEx.uid) or (not config.usableOnTarget and cid ~= itemEx.uid)) then if(not config.splashable) then return false end if(toPosition.x == CONTAINER_POSITION) then toPosition = getThingPos(item.uid) end doDecayItem(doCreateItem(2016, potion.splash, toPosition)) doTransformItem(item.uid, potion.empty) return TRUE end if(hasCondition(cid, CONDITION_EXHAUST_HEAL)) then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE end if(((potion.level and getPlayerLevel(cid) < potion.level) or (potion.vocations and not isInArray(potion.vocations, getPlayerVocation(cid)))) and not getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES)) then doCreatureSay(itemEx.uid, "Only " .. potion.vocStr .. (potion.level and (" of level " .. potion.level) or "") .. " or above may drink this fluid.", TALKTYPE_ORANGE_1) return TRUE end local health = potion.health if(health and not doCreatureAddHealth(itemEx.uid, math.ceil(math.random(health[1], health[2]) * config.healthMultiplier))) then return false end local mana = potion.mana if(mana and not doPlayerAddMana(itemEx.uid, math.ceil(math.random(mana[1], mana[2]) * config.manaMultiplier))) then return false end doAddCondition(cid, exhaust) doSendMagicEffect(getThingPos(itemEx.uid), 30) doSendAnimatedText(fromPosition, "Aaaah...", 17) if(not potion.empty or config.removeOnUse) then doRemoveItem(item.uid, 1) return TRUE end doRemoveItem(item.uid, 0) doPlayerAddItem(cid, potion.empty, 0) doPlayerRemoveItem(cid, potion.empty, getPlayerItemCount(cid, potion.empty)) doPlayerAddItem(cid, potion.empty, getPlayerItemCount(cid, potion.empty)) return TRUE end  
  3. Gostei
    Wellinton faus deu reputação a leocurvelo em [CUSTOM] RuneScape OT   
    Ola pessoal do TibiaKing! Estou aqui para anunciar meu projeto!
    Esse projeto foi uma ideia que tive de misturar varios recursos do jogo RuneScape ao client do Tibia, e aqui está !
     
    [~]O Servidor[~]
    Estou trabalhando duro no servidor há mais ou menos 3 meses, não estou tendo ajuda de ninguem no momento e estou tentando fazer ao maximo!
     
    [~]Sistemas e Special Skills[~]
     Mining - usado para extrair ores das pedras
     Smithing - derretes ores em barras e forjar equipamentos e armas
     Woodcutting - cortar diversas árvores
     Fletching - usado para fabricar munições e 'bows/crossbow'
     Firemaking - acenter lenhas em fogueiras
     Fishing - pescar peixes para cozinhar
     Cooking - cozinhar peixes e alimentos para comer e recuperar HPs
     Crafting - usado para cortar gemas, criar joias e tecer couros
     Herblore - limpar ervas e criar poções com elas
     Runecrafting - criar runas em altares magicos
     Thieving - roubar lojas, bancadas, baus, npcs
     Agility - usado para usar atalhos e entrar em lugares misteriosos
     Farming - permite que o jogador plante frutas, ervas ou arvores em terrenos específicos
     Prayer - enterrar ossos para receber bençãos divinas
     Slayer - tarefas para matar monstros, receber recompensas, matar bosses e conseguir items exclusivos
     Hunter (NEW) - caçada de diferentes animais e criaturas
     Summoning (NEW) - criação espiritual de 'pouches' para invocação de criaturas
    Skinning (NEW)- obtenção de items únicos de cada criatura
    Pretendo adicionar mais skills com o tempo!
     
    [~]Vocations[~]
     Adventurer - essa será a unica vocação no jogo, portanto o jogador poderá usar qualquer tipo de combate (Magic, Ranged ou Melee) a hora que quiser, como no Runescape (Level Up: +20 HP +20 MP)
     
    [~]O Mapa[~]
    O mapa será o mais parecido possivel ao mapa do RuneScape, com alguns detalhes visando a diferença de um mapa Tibiano, como casas em todas as cidades, locais de caças específicos, etc...
     
    [~]Client de Jogo[~]
    Voce poderá jogar com nosso Custom Tibia Old Client, e tambem com o nosso OTClient que terá novos recursos e "mods" para ajuda-lo no jogo!
     
    [~]Teasers[~]
     
     
     
    Como estou trabalhando sozinho, se você estiver interessado em ajudar em algo no projeto, estarei disposto a recebe-lo!
    Discord: leocurvelo#0017
    Facebook: /leocurvelo
    E-mail: [email protected]

    Estarei atualizando voces de qualquer novidade no servidor, então fiquem ligados!
    Obrigado!
  4. Gostei
    Download Spr e dat
    Print
     

    Creditos:
    Kaleudd

Informação Importante

Confirmação de Termo