Ir para conteúdo

tiuguedor

Membro
  • Registro em

  • Última visita

Tudo que tiuguedor postou

  1. tiuguedor postou uma resposta no tópico em Suporte Tibia OTServer
    não to conseguindo coloca e effeito nela exemplo exori flam não sai o efeito somente o dano ajuda ae jente local spell = {} spell.config = { [1] = { damageType = 8, areaEffect = 6, area = { {0, 1, 0}, {1, 3, 1}, {0, 1, 0}, } } } spell.combats = {} for _, config in ipairs(spell.config) do local combat = createCombatObject(CONDITION_POISON) setCombatParam(combat, COMBAT_PARAM_TYPE, config.damageType) setCombatParam(combat, COMBAT_PARAM_TYPE, config.damageType) setCombatParam(combat, COMBAT_PARAM_EFFECT, config.areaEffect) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -9.0, -9, -4.0, 0) function onTargetCreature(cid, target) doPullCreature(target, cid) end setCombatArea(combat, createCombatArea(config.area)) table.insert(spell.combats, combat) end function onCastSpell(cid, var) if exhaustion.get(cid, 23008) == false then exhaustion.set(cid, 23008, 10) for n = 1, #spell.combats do addEvent(doCombat, (n * 1600) - 1600, cid, spell.combats[n], var) end return true else doPlayerSendCancel(cid, "Cooldown[" ..exhaustion.get(cid, 23008).."]") end end Terror Fire.lua
  2. tiuguedor postou uma resposta no tópico em Suporte Tibia OTServer
    Mais o ot e de war
  3. tiuguedor postou uma resposta no tópico em Suporte Tibia OTServer
    queria um script que nao pasace do lvl 500 o jogador e posivel?
  4. eu entendi normal pego sertim rullo lek
  5. o problema e no mode deve tar mode 3 ponha mode 2 iso la no world tipe ponhe mode 2 se nao der ponha ese aki <?xml version="1.0" encoding="ISO-8859-1"?> <mod name="Skull System" version="1.0" author="maykon" contact="#####.com" enabled="yes"> <config name="SkullC_func"><![CDATA[ function setSkullColor(cid) local t = { [{10,20}] = 1, [{20,30}] = 2, [{40,50}] = 3, [{50,60}] = 4, [{60,math.huge}] = 5 } for var, ret in pairs(t) do if getPlayerFrags(cid) >= var[1] and getPlayerFrags(cid) <= var[2] then doCreatureSetSkullType(cid, ret) end end end function getPlayerFrags(cid) local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = {date = result:getDataInt("date")} if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = {day = table.maxn(contents.day),week = table.maxn(contents.week),month = table.maxn(contents.month)} return size.day + size.week + size.month end ]]></config> <event type="login" name="SkullLogin" event="script"><![CDATA[ domodlib('SkullC_func') function onLogin(cid) registerCreatureEvent(cid, "ColorKill") setSkullColor(cid) return true end]]></event> <event type="kill" name="ColorKill" event="script"><![CDATA[ domodlib('SkullC_func') function onKill(cid, target) if isPlayer(cid) and isPlayer(target) then doCreatureSetSkullType(target, 0) addEvent(setSkullColor, 100, cid) end return true end]]></event> </mod>
  6. reseto os LVL do e os Skill pq a HP e Mana Fiko Igau Ai Bugo o Serve Tem um mando de Resetar a HP e Mana

Informação Importante

Confirmação de Termo