Jump to content

ikaroangelo21

Member
  • Content Count

    59
  • Joined

  • Last visited

  • Days Won

    1

ikaroangelo21 last won the day on February 19 2020

ikaroangelo21 had the most liked content!

About ikaroangelo21

  • Rank
    Dedicated

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Funções: doCreatureSetStorage setPlayerStorageValue
  2. exhaustion = { check = function (cid, storage) if(getPlayerFlagValue(cid, PLAYERFLAG_HASNOEXHAUSTION)) then return false end return getPlayerStorageValue(cid, storage) >= os.time() end, get = function (cid, storage) if(getPlayerFlagValue(cid, PLAYERFLAG_HASNOEXHAUSTION)) then return false end local exhaust = getPlayerStorageValue(cid, storage) if(exhaust > 0) then local left = exhaust - os.time() if(left >= 0) then return left end end return false end, set = function (cid, storage, time) setPlayerStorageValue(cid, storage, os.time() + t
  3. Tenta assim: function onSay(cid, words, param) if(not checkExhausted(cid, 666, 20)) then return true end if (getPlayerBlessing(cid,1)) then return doPlayerSendTextMessage(cid,25,"Você já possui bless.") end local position = getCreaturePosition(cid) if getPlayerLevel(cid) <= 79 then if getPlayerMoney(cid) >= 50000 then if doPlayerRemoveMoney(cid, 50000) then for b=1, 5 do doPlayerAddBlessing(cid, b) end doPlayerSendTextMessage(cid, 27, "Você comprou 'All Blessings'.") doCreatureSay(cid, "Blessed!", TALKTYPE_ORANGE_1) doSendMagicEffect(
  4. Usa esse MOD, melhor. <?xml version="1.0" encoding="ISO-8859-1"?> <mod name="Exp Potion" version="1.0" author="Vodkart" contact="DISCORD: vodkart#6090" enabled="yes"> <config name="exppotion"><![CDATA[ exp_info = {rate = 0.2, storage = {354870,354871,354872}, minutes = 30} -- rate 0.2 = 20% function convertTime(a) if(type(tonumber(a)) == "number" and a > 0) then if (a <= 3599) then local minute = math.floor(a/60) local second = a - (60 * minute) if(second == 0) then return ((minute)..((minute > 1) and " minutos" or " minuto"))
  5. eventsId = {} local function rechargeStamina(cid) if not isPlayer(cid) then eventsId[cid] = nil return end doPlayerAddStamina(cid, 1) eventsId[cid] = addEvent(rechargeStamina, 3 * 60 * 1000, cid) end function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor) if isPlayer(cid) then eventsId[cid] = addEvent(rechargeStamina, 3 * 60 * 1000, cid) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Bem vindo aos trainers VIP's " .. getCreatureName(cid) .."! Você receberá 1 minuto de stamina a cada 3 minutos nos trainers VIP's.") end
  6. @MattOt no itens.xml procura: <item id="100" article="a" name="fainted shiny houndoom"> <attribute key="containerSize" value="10" /> <attribute key="decayTo" value="0" /> <attribute key="duration" value="300" /> </item> <item id="100" article="a" name="fainted bronzong"> <attribute key="containerSize" value="10" /> <attribute key="decayTo" value="0" /> <attribute key="duration" value="300" /> </item> <item id="100" article="a" n
  7. entendo, abre o yourots e me manda uma linha dos bichos que estao bugados
  8. esqueci isso de inicio, atualizei o código, com a função, faça o teste @Kitsune Shiro local items = { {itemId = 12377, count = 1, chance = 30}, {itemId = 11987, count = 1, chance = 20}, {itemId = 12338, count = 1, chance = 20}, {itemId = 12032, count = 1, chance = 20}, {itemId = 12031, count = 1, chance = 20}, {itemId = 12030, count = 1, chance = 20}, {itemId = 12547, count = 1, chance = 10}, {itemId = 15685, count = 1, chance = 1}, } function onUse(cid, item, frompos, item2, topos) local config = { pos = getCreaturePosition(cid), exhaustionSeconds = 3600, storageUse = 44231,
  9. local items = { {itemId = 12377, count = 1, chance = 30}, {itemId = 11987, count = 1, chance = 20}, {itemId = 12338, count = 1, chance = 20}, {itemId = 12032, count = 1, chance = 20}, {itemId = 12031, count = 1, chance = 20}, {itemId = 12030, count = 1, chance = 20}, {itemId = 12547, count = 1, chance = 10}, {itemId = 15685, count = 1, chance = 1}, } function onUse(cid, item, frompos, item2, topos) local config = { pos = getCreaturePosition(cid), exhaustionSeconds = 3600, storageUse = 44231, } if(exhaustion.check(cid, config.storageUse)) then if (exhaustion.get(cid, config.storageUse) &
  10. @jeffersson s2 guildHalls = false para guildHalls = true, resto e no rme editor.
  11. seu servidor -> data -> world. Baiak Barao-spawn (algo parecido). @victor8082
  12. local items = { {itemId = 12337, count = 1, chance = 30}, -- naruto and gamabunta {itemId = 11987, count = 1, chance = 20}, -- naruto road to ninja {itemId = 12338, count = 1, chance = 20}, {itemId = 12032, count = 1, chance = 20}, {itemId = 12031, count = 1, chance = 20}, {itemId = 12030, count = 1, chance = 20}, {itemId = 12547, count = 1, chance = 10}, {itemId = 15685, count = 1, chance = 1}, } local broadcastitems = {12337, 11987, 12338, 12032, 12031, 12030, 12547, 15685} function onUse(cid, item, frompos, item2, topos) local totalChance, randomTable, randomNumb
×
×
  • Create New...

Important Information

Confirmação de Termo