Ir para conteúdo

anderson127

Campones
  • Total de itens

    41
  • Registro em

  • Última visita

Posts postados por anderson127

  1. eu tenho uns intes que eu quero botar pra regenerar a mana e vida no narutibia dai eu vi que tem que bota essas tags

    eu tenho uns intes que eu quero botar pra regenerar a mana e vida no narutibia dai eu vi que tem que bota essas tags
    [quote]</item>
    <item id="3982" name="akatsuki robe">
    <attribute key="description" value="Heal Health and Chakra in 1000/s." />
    <attribute key="weight" value="900" />
    <attribute key="armor" value="15" />
    <attribute key="manaGain" value="1000" />
    <attribute key="manaTicks" value="1000" />
    <attribute key="healthGain" value="1000" />
    <attribute key="healthTicks" value="1000" />
    <attribute key="slotType" value="body" />[/quote]
    
    so que n ta enchendo nd n tem algum outro lugar pra add?
    

     

     

    so que n ta enchendo nd n tem algum outro lugar pra add?

  2. cara add td certinho quando o poke vai pra atacar da esse erro

    [22/02/2013 14:41:00] [Error - Spell Interface]

    [22/02/2013 14:41:00] data/spells/scripts/ps/Bubble Blast.lua:onCastSpell

    [22/02/2013 14:41:00] Description:

    [22/02/2013 14:41:00] data/lib/pokemon moves.lua:122: attempt to perform arithmetic on a nil value

    [22/02/2013 14:41:00] stack traceback:

    [22/02/2013 14:41:00] data/lib/pokemon moves.lua:122: in function 'docastspell'

    [22/02/2013 14:41:00] data/spells/scripts/ps/Bubble Blast.lua:5: in function <data/spells/scripts/ps/Bubble Blast.lua:1>

  3. cara ta dando esse erro em casa todos os seus mods que eu peguei

    [15/02/2013 20:27:50] > Loading vampiri.xml...[Error - ScriptingManager::loadFromXml] Cannot load mod mods/vampiri.xml

    [15/02/2013 20:27:50] Line: 9, Info: Input is not proper UTF-8, indicate encoding !

    [15/02/2013 20:27:50] Bytes: 0xE9 0x20 0x70 0x6F

     

     

    [15/02/2013 20:27:50] failed!

    [15/02/2013 20:27:50] > 6 mods were loaded.

    [15/02/2013 20:27:50] Reloaded mods.

    [15/02/2013 20:27:59] [Warning - Monster::Monster] Unknown event name - VampAttack

  4. function onUse(cid, item, fromPosition, itemEx, toPosition)

    local pos = {x=1084,y=1059,z=7}

    local de = getPlayerVocationName(cid)

    if isInArray({1,2,3,4},getPlayerVocation(cid)) then

    doPlayerSetPromotionLevel(cid, 1)

    doPlayerSendTextMessage(cid,25,"Você foi promovido, parabéns!")

    doTeleportThing(cid,pos)

    setPlayerStorageValue(cid, 987878, 9) <<<<aqui e o id da vocaçao

    doSendMagicEffect(pos,10)

    else

    doPlayerSendCancel(cid,"Você já está promovido!")

    doSendMagicEffect(pos,2)

    end

    return true

     

    end

     

    depois vai creatures script vai em login.lua e add essa tag

    if getPlayerStorageValue(cid, 987878) > 0 then

    doPlayerSetVocation(cid, getPlayerStorageValue(cid, 987878))

    se ajudei Rep+

  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...