Ir para conteúdo

Líderes

Conteúdo Popular

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

  1. Não tenho conhecimento disso mas o jeito que eu sei seria modificar os scripts para que não detecte os nomes da lista, como neste caso os scripts acima if not isInArray(blocked_name, getPlayerName(cid)) then -- scripts return true end
  2. [SPELL] METEORO

    Vorkhon reagiu a Fabi Marzan por uma resposta no tópico

    1 ponto
    Honestamente, nao sou especialista em lua ou em fazer spells, mas fiz algo rapido para voce aqui: local combatOne = createCombatObject() setCombatParam(combatOne, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combatOne, COMBAT_PARAM_HITCOLOR, COLOR_MAYABLUE) setCombatFormula(combatOne, COMBAT_FORMULA_LEVELMAGIC, -1.0, -500, -1.0, -650) setCombatArea(combatOne,createCombatArea( {{1, 1, 1}, {1, 3, 1}, -- Area 3X3 {1, 1, 1}} )) local function meteor_1(cid, target) if isCreature(target) then local pos = getCreaturePosition(target) local post = getThingPosition(getCreatureTarget(cid)) local fromposition = {x = pos.x - math.random(2, 5), y = pos.y - 4, z = pos.z} local toposition = {x = post.x - math.random(1, 2), y = post.y, z = post.z} doSendDistanceShoot(fromposition, toposition, CONST_ANI_FIRE) doSendMagicEffect(pos, CONST_ME_FIREAREA) end end local function meteor_2(cid, target) if isCreature(target) then local pos = getCreaturePosition(target) local post = getThingPosition(getCreatureTarget(cid)) local fromposition = {x = pos.x + math.random(2, 5), y = pos.y - 4, z = pos.z} local toposition = {x = post.x + math.random(1, 2), y = post.y, z = post.z} doSendDistanceShoot(fromposition, toposition, CONST_ANI_FIRE) doSendMagicEffect(pos, CONST_ME_FIREAREA) end end local function meteor_3(cid, target) if isCreature(target) then local pos = getCreaturePosition(target) local post = getThingPosition(getCreatureTarget(cid)) local fromposition = {x = pos.x, y = pos.y - 4, z = pos.z} local toposition = {x = post.x, y = post.y, z = post.z} doSendDistanceShoot(fromposition, toposition, CONST_ANI_FIRE) doSendMagicEffect(pos, CONST_ME_FIREAREA) end end local config = { hit = 1, time = 1200, -- meteor_1 time_2 = 1300, -- meteor_2 time_3 = 1500, -- meteor_3 numberOfAttacks = 3, attackInterval = 200 } function onCastSpell(cid, var) addEvent(function() doCombat(cid, combatOne, var) end, 1200) local pos = getCreaturePosition(cid) for i = 1, config.numberOfAttacks do addEvent(function() doSendDistanceShoot(pos, {x = pos.x - math.random(4, 6), y = pos.y - 5, z = pos.z}, CONST_ANI_FIRE) end, config.attackInterval * i) end for fbn = 1, config.hit do addEvent(meteor_1, config.time * fbn, cid, getCreatureTarget(cid)) addEvent(meteor_2, config.time_2 * fbn, cid, getCreatureTarget(cid)) addEvent(meteor_3, config.time_3 * fbn, cid, getCreatureTarget(cid)) end return true end
  3. seria uma boa otimizar o script mano, desse modo ele ta bem "mal feito" local config = { items = { {2160, 300}, {2383, 1}, {2390, 1}, {10518, 1}, {2471, 1}, {2646, 1}, {2469, 1}, {2523, 1}, {2494, 1}, {8926, 1}, {7431, 1}, {7368, 1}, {8910, 1}, {2789, 100}, {1664, 1} } } function onUse(cid, item, frompos, item2, topos) if item.uid == 1664 then queststatus = getPlayerStorageValue(cid,1664) if queststatus == -1 then doPlayerSendTextMessage(cid,25,"Parabens Ganho 3kk.") for i=1, #config.items do doPlayerAddItem(cid, config.items[i][1], config.items[i][2]) end else doPlayerSendTextMessage(cid,22,"Voce ja pegou o bonus") end end return true end fica mais organizado e mais legivel
  4. Olá @GM Vortex, obrigado pela menção do meu projeto styller. Vi que você citou alguns repositórios que usam como base o downgrade do Nekiro, gostaria de citar um novo também, que esta sendo atualizado pelo MillhioreBT e parece bem promissor: https://github.com/MillhioreBT/forgottenserver-downgrade Abraço!
Líderes está configurado para São Paulo/GMT-03:00

Informação Importante

Confirmação de Termo