Jump to content

Fabi Marzan

Member
  • Content Count

    62
  • Joined

  • Last visited

  • Days Won

    1

Fabi Marzan last won the day on August 25 2020

Fabi Marzan had the most liked content!

3 Followers

About Fabi Marzan

  • Rank
    Dedicated

Recent Profile Visitors

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

  1. Isso hotkeys que vc tem e pra OTclient....nao pra Old Client ELFBOT ---> auto 100 listas 'Re-Conect' | setcolor 0 400 500 | ifnot '$connected' reconnect | wait 6000
  2. algo assim? local config = { effects_per_level = { [1] = 25, -- efeito no [level 1] [2] = 177 -- efeito no [level 2] }, casts_to_up = 300, -- quantas vezes tem que soltar para alcançar o level 2 storages = {level = 46890, cast = 46891} -- só modifique se necessário } local function getPlayerRasenganLevel(cid) return getPlayerStorageValue(cid, config.storages.level) end local function getPlayerRasenganCasts(cid) return getPlayerStorageValue(cid, config.storages.cast) > 0 and getPlayerStorageValue(cid, config.storages.cast) or 0 end lo
  3. local position = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z} doSendMagicEffect(position, efeitosAura[i])
  4. Usando essa funcao doCreatureAddMana(cid, -2000) Vida doCreatureAddHealth(cid, -2000)
  5. Resolvido, para quem quiser foi apenas colocado um: local position = {x=getThingPosition(getCreatureTarget(cid)).x+1, y=getThingPosition(getCreatureTarget(cid)).y+1, z=getThingPosition(getCreatureTarget(cid)).z} doSendMagicEffect(position, 15) Assim: function spell1(cid) if getCreatureLookDirection(cid) == 2 then --DERECHA local position = {x=getThingPosition(getCreatureTarget(cid)).x+1, y=getThingPosition(getCreatureTarget(cid)).y+1, z=getThingPosition(getCreatureTarget(cid)).z} doSendMagicEffect(position, 169) end end
  6. PRIMEIRO: SPELL local config = { itemid = 2344, -- id da bomba duration = 50, -- duration antes de ser removida actionid = 13246, -- actionid que sera setado na bomba (pro movements) effect = 951, -- efeito que sai ao colocar a bomba } function removeBomba(pos, id) local item = getTileItemById(pos, id) if item.uid > 0 then doRemoveItem(item.uid) end return true end function Explosive(cid, text) if not isPlayer(cid) then return end doSendAnimatedText(getCreaturePosition(cid), "Trap..", 215) end function onCastSpell(cid, var) local waittime = 20 -- Tempo d
  7. ¿Isso? local pos = getCreaturePosition(target) doSendDistanceShoot({x=getCreaturePosition(target).x-2,y=getCreaturePosition(target).y-2,z=getCreaturePosition(target).z}, getCreaturePosition(target), 97)
  8. USSA ESSE MELHOR: local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_HITCOLOR, 210) setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, 125) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -4.4, 1, -4.5, 1) local function onCastSpell1(parameters) doCombat(parameters.cid, parameters.combat1, parameters.var) end function SPELL(cid) -- <<< FUNCAO if isCreature(cid) and isCreature(getCreatureTarget(cid)) then local position = {x=getThingPosition(getCreatureTarget(cid)).x+2, y=getThing
  9. Oi, eu quero usar o spell so com players. local pos = { {x = 1513, y = 1164, z = 7}, {x = 1496, y = 1166, z = 7}, } local config = { key = 14567, -- storage que salvara a pos (Note que esse e os proximos 2 storages seguintes serao utilizados) effect = 152, -- efeito ao entrar no kamui storagecol = 14565, -- storage que fica salvo o cooldown cooldown = 2, -- tempo entre 1 uso e outro from = {x=1485, y=1137, z=7}, --- quina do kamui (pra impedir players de usarem o kamui dentro do kamui) to = {x=1590, y=1244, z=7}, --- quina do kamui (pra impedir players de usarem o kamui dent
  10. é muito parecido com o que você quer local combat_lv1 = createCombatObject() setCombatParam(combat_lv1, COMBAT_PARAM_EFFECT, 111) setCombatParam(combat_lv1, COMBAT_PARAM_CREATEITEM, 1706) local combat_lv2 = createCombatObject() setCombatParam(combat_lv2, COMBAT_PARAM_EFFECT, 111) setCombatParam(combat_lv2, COMBAT_PARAM_CREATEITEM, 1706) local combat_lv3 = createCombatObject() setCombatParam(combat_lv3, COMBAT_PARAM_EFFECT, 111) setCombatParam(combat_lv3, COMBAT_PARAM_CREATEITEM, 1706) local combat_lv4 = createCombatObject() setCombatParam(combat_lv4, COMBAT_PARAM_EFFECT, 111) setCombatPar
  11. Usei Tfs 0.4 ate usar as mesmas sources do NTO HARD e a partir dai comecei do novo.
×
×
  • Create New...

Important Information

Confirmação de Termo