Ir para conteúdo

JGz0z

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    JGz0z deu reputação a Nogard em (Resolvido)Ajuda com Quest   
    Testa.
    function onUse(cid, item, fromPosition, itemEx, toPosition) local config = { [ActionID1] = {8856, 2547}, [ActionID2] = 7958, [ActionID3] = 8929, [ActionID4] = 8293, [ActionID5] = 8932, level = 30, storage = 0000 } if getPlayerLevel(cid) < config.level then doTeleportThing(cid, fromPosition, true) doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_RED) doPlayerSendCancel(cid,'Necessário level ['.. config.level ..'] para fazer essa quest.') return true end if getPlayerStorageValue(cid, config.storage) < 1 then for a, c in pairs(config) do doPlayerAddItem(cid, c[item.actionid], 1) setPlayerStorageValue(cid, config.storage, 1) end else doPlayerSendCancel(cid, 'Está vazio') end return true end Adicione os Actions ID's, a storage, e testa.
  2. Gostei
    JGz0z deu reputação a Bruno Carvalho em Exp Token   
    O primeiro que não dá para usár 2x é só mudar

    removeonuse = TRUE  
    para

    removeonuse = FALSE  
    e o segundo teria de adicionar um storage e um outro script em creaturescripts para ficar fixo...
  3. Gostei
    JGz0z deu reputação a Danihcv em [Ajuda] Mana Rune   
    Como assim fórmula?? Tipo, com uma constante??
    local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, 1) setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) function onCastSpell(cid, var) doCreatureAddMana(cid, math.random(getPlayerLevel(cid)*1,5)) return doCombat(cid, combat, var) end Se for isso, deixa assim, pq senão, fica mt apelão.
     
     
    Ah tah, saquei, é cara, acho que não... Ou vc faz isso ae de cima ou pode por uma constante assim:
    local k = VALOR DA CONSTANTE AQUI local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, 1) setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) function onCastSpell(cid, var) doCreatureAddMana(cid, math.random(getPlayerLevel(cid)+k)) return doCombat(cid, combat, var) end Acho que isso é o máximo que dá pra fazer...
     
    Se eu te ajudei, não esquece do REP++, pf, é importante.
    Mas sinta-se a vontade.
  4. Gostei
    JGz0z deu reputação a Jamison Collins em [Ajuda] Mana Rune   
    Você pode tentar assim:
    local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, 1) setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) function onCastSpell(cid, var) local level = getPlayerLevel(cid) local magicl = getPlayerMagLevel(cid) local min = ((level * 0.2) + (magicl * 20) + 50) local max = ((level * 0.2) + (magicl * 25) + 75) doCreatureAddMana(cid, math.random(min, max)) return doCombat(cid, combat, var) end Bem... você pode contruir a formula a partir disso:
    local min = ((level * 0.2) + (magicl * 20) + 50) local max = ((level * 0.2) + (magicl * 25) + 75) 
  5. Gostei
    JGz0z deu reputação a Hona em Centurion V4   
    com os pokes da 3 geração full.

    Os bugs que Cacaiu arrumo foram esses :





    ScreenShots V4:







    Centurion V3




    Centurion V3.1




    Centurion V3.2- [Recomendado]





    Centurion V3.3




    Centurion V4



     
     
    Executável Sem Bug de Catch
     



     

    sé ajudei Rep+ pra mim !!!

Informação Importante

Confirmação de Termo