Ir para conteúdo

Tchubaka

Visconde
  • Total de itens

    395
  • Registro em

  • Última visita

  • Dias Ganhos

    4

Tudo que Tchubaka postou

  1. creio que esse topico te ajude. http://www.xtibia.com/forum/topic/142602-promotion-vip-implantado-no-systema-vip/ AJUDEI?REP+ em creaturescript antes do retum bote isso. if getPlayerStorageValue(cid, 13540) > os.time() then if getPlayerStorageValue(cid, 122131) == 1 and isInArray({ 5, 6, 7, 8 }, getPlayerVocation(cid)) then doPlayerSetVocation(cid, getPlayerVocation(cid)+4) end else if isInArray({ 9, 10, 11, 12 }, getPlayerVocation(cid)) then doPlayerSetVocation(cid, getPlayerVocation(cid)-4) end end
  2. piso e so voce pelo mapa editor. clikar 2x e em actionID botar 13500 ^^ REP+?
  3. tena isso. <item id="2353" article="a" name="burning heart"> <attribute key="description" value="It is still beating with unholy life. It seems to be rotting rapidly." /> <attribute key="weight" value="400" /> <attribute key="decayTo" value="0" /> <attribute key="charges" value="0"/> <attribute key="preventDrop" value="1"/> <attribute key="slotType" value="necklace"/> <attribute key="duration" value="86400" /> </item>
  4. Tchubaka

    Monstro

    Duvida Sanada.
  5. Tchubaka

    Monstro

    troque o seu por isso ; <?xml version="1.0" encoding="UTF-8"?> <monster name="Vespinha Voadoura" level="800" maglevel="5000" experience="16000" pushable="0" armor="40" defense="50" canpushitems="1" staticattack="50" changetarget="200" speed="778"> <health now="18000" max="18500"/> <look type="44" head="20" body="30" legs="40" feet="50" corpse="5989"/> <combat targetdistance="3" runonhealth="177"/> <attacks> <attack type="rune" name="exevo gran mas vis" exhaustion="500" cycleticks="3000" probability="90"/> <attack type="rune" name="exevo gran mas pox" exhaustion="500" cycleticks="5000" probability="70"/> <defenses> <defense immunity="fire"/> <defense immunity="poison"/> <defense immunity="paralyze"/> <defense immunity="drunk"/> <defense immunity="invisible"/> </defenses> <voices> <voice sentence="Zap!"/> <voice sentence="ZzZzZzzZ"/> <voice sentence="Zium"/> </voices> <summons maxSummons="2"> <summon name="Demon" chance="1000"/> </summons> <loot> <item id="2160" countmax="20" chance1="100000" chancemax="0"/> <item id="2471" chance="10000"/> <item id="2495" chance="1666"/> <item id="2493" chance="10000"/> <item id="2313" countmax="100" chance1="1428" chancemax="0"/> <item id="2268" countmax="100" chance1="1333" chancemax="0"/> </inside> </item> </loot> </monster> REP+?
  6. agora so funciona se eu estiver nessa linha em preto na s.s ;x Duvida Sanada. REP+
  7. amuleto. <item id="2353" article="a" name="burning heart"> <attribute key="description" value="It is still beating with unholy life. It seems to be rotting rapidly." /> <attribute key="weight" value="400" /> <attribute key="decayTo" value="0" /> <attribute key="preventDrop" value="1"/> <attribute key="slotType" value="necklace"/> <attribute key="duration" value="86400" /> </item> vip por iten. vai em actions>script crie 1arquivo com nome sistemavip.lua e cole isso. function onUse(cid, item, fromPosition, itemEx, toPosition) local config={ removeOnUse = "yes" -- remover quando usar ("yes" or "no") } local days = 30 -- coloque os dias que serão a VIP! local daysvalue = days * 24 * 60 * 60 local storageplayer = getPlayerStorageValue(cid, 13500) local timenow = os.time() if getPlayerStorageValue(cid, 13500) - os.time() <= 0 then time = timenow + daysvalue else time = storageplayer + daysvalue end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados ".. days .." dias de VIP no seu character.") setPlayerStorageValue(cid, 13500, time) local quantity = math.floor((getPlayerStorageValue(cid, 13500) - timenow)/(24 * 60 * 60)) doSendMagicEffect(getPlayerPosition(cid), math.random(28,30)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. quantity .." dias de VIP restantes.") if (config.removeOnUse == "yes") then doRemoveItem(item.uid, 1) end return TRUE end agora em actions.xml cole isso. <action itemid="2353" script="sistemavip.lua"/> AJudei?REP+
  8. Tchubaka

    Relogio Na Tela

    talkactions>scripts crie 1arquivo com nome uptime.lua e cole isso function onSay(cid, words, param, channel) local tmp = getWorldUpTime() local hours = math.ceil(tmp / 3600) - 1 local minutes = math.ceil((tmp - (3600 * hours)) / 60) if(minutes == 60) then minutes = 0 hours = hours + 1 end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Uptime: " .. hours .. " hours and " .. minutes .. " minutes.") return true end talkactions.xml cole isso <talkaction words="!uptime;/uptime" event="script" value="uptime.lua"/> AJUDEI?REP+?
  9. entao seria <<< 1andar acima final. >>> terrio final canto ~> certo?
  10. Tchubaka

    [Spell] Bold Fluor

    normalmente seria bom trocar : exhaustion="1" por : exhaustion="1000" Seria o exhaustion bom'.
  11. Tchubaka

    Npc

    nao. vai em iten.xml e mude. <item id="2197" article="a" name="stone skin amulet"> <attribute key="weight" value="760"/> <attribute key="slotType" value="necklace"/> <attribute key="charges" value="5"/> <attribute key="showcharges" value="1"/> <attribute key="showattributes" value="1"/> por : <item id="2197" article="a" name="stone skin amulet"> <attribute key="weight" value="760"/> <attribute key="slotType" value="necklace"/> <attribute key="charges" value="100"/> <attribute key="showcharges" value="1"/> <attribute key="showattributes" value="1"/> AJUDEI?REP+
  12. manda sua vocations.xml e sua spell de healar.
  13. Duvida Sanada. pode mover.
  14. posição do canto superior esquerdo, posição do canto inferior direito nao entendi direito. Print Castelo. seria ai as POS? lembrando que são 2 andares.
  15. meu script de cs e esse : e tem o castelo, queria por so pra usar nele. talvez 1tile na entrada do castelo daria 1storage so no castelo nao sei.' i 1duvida. teria como nesse PERIMETRO nao pudesse atacar de arma? so com o comando !atirar? vlw'
  16. Tchubaka

    [Spell] Bold Fluor

    cara tem como fazer asism. ve se gosta local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_EFFECT, 4) setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_GREENSTAR) setCombatParam(combat1, COMBAT_PARAM_AGGRESSIVE, 0) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_EFFECT, 28) setCombatParam(combat2, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_BOLT) setCombatParam(combat2, COMBAT_PARAM_AGGRESSIVE, 0) local combat3 = createCombatObject() setCombatParam(combat3, COMBAT_PARAM_EFFECT, 43) setCombatParam(combat3, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_BURSTARROW) setCombatParam(combat3, COMBAT_PARAM_AGGRESSIVE, 0) local combat4 = createCombatObject() setCombatParam(combat4, COMBAT_PARAM_EFFECT, 31) setCombatParam(combat4, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_POISONARROW) setCombatParam(combat4, COMBAT_PARAM_AGGRESSIVE, 0) local combat5 = createCombatObject() setCombatParam(combat5, COMBAT_PARAM_EFFECT, 34) setCombatParam(combat5, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_POWERBOLT) setCombatParam(combat5, COMBAT_PARAM_AGGRESSIVE, 0) arr1 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 1, 1, 2, 1, 1, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} } arr2 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 1, 1, 1, 2, 1, 1, 1, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},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, 1, 0, 0, 0}, {0, 0, 1, 1, 1, 3, 1, 1, 1, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} } local area1 = createCombatArea(arr1) local area2 = createCombatArea(arr2) local area3 = createCombatArea(arr3) local area4 = createCombatArea(arr4) local area5 = createCombatArea(arr5) setCombatArea(combat1, area1) setCombatArea(combat2, area2) setCombatArea(combat3, area3) setCombatArea(combat4, area4) setCombatArea(combat5, area5) local function onCastSpell1(parameters) doCombat(parameters.cid, combat1, parameters.var) end local function onCastSpell2(parameters) doCombat(parameters.cid, combat2, parameters.var) end local function onCastSpell3(parameters) doCombat(parameters.cid, combat3, parameters.var) end local function onCastSpell4(parameters) doCombat(parameters.cid, combat4, parameters.var) end local function onCastSpell5(parameters) doCombat(parameters.cid, combat5, parameters.var) end function onCastSpell(cid, var) doSendMagicEffect(getCreaturePosition(cid),14) local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3, combat4 = combat4, combat5 = combat5 } addEvent(onCastSpell1, 000, parameters) addEvent(onCastSpell2, 600, parameters) addEvent(onCastSpell3, 1200, parameters) addEvent(onCastSpell4, 2000, parameters) addEvent(onCastSpell3, 2600, parameters) addEvent(onCastSpell2, 3200, parameters) addEvent(onCastSpell5, 3800, parameters) return TRUE end
  17. Tchubaka

    [Spell] Bold Fluor

    sim mais esse pra sair as bolts. so funciona em target. ele nao tem em area effect ;x. ele so vai do jeito que fiz msm. ;x
  18. no meio script de conter strike. queria por pra usar os comandos so em tal parametro. fiz 1 castelo queria que usasse as talkactions so dentro do castelo. Vlw'
  19. tenta isso . <?xml version="1.0" encoding="UTF-8"?> <npc name="Pescador" script="default.lua" walkinterval="1000" floorchange="0"> <health now="150" max="150"/> <look type="169" head="114" body="86" legs="114" feet="0" corpse="2212"/> <parameters> <parameter key="module_travel" value="1"/> <parameter key="message_greet" value="Ola |PLAYERNAME|. Posso te levar para {yalahar} ou para {grinvar}..."/> <parameter key="travel_destinations" value="yalahar,1861,1362,7,0 grinvar"/> </parameters> </npc>
  20. Tchubaka

    [Spell] Bold Fluor

    você quer tpw o /x NUMEROS? aaaa cara esse de arrows. e so para target so vai 1 mesmo =/ o area effect tem outros varios. mais arrows nao tem =/ desculpa tentei uq sabia' ;/
  21. tem no item que da vida e so fazer assim : e so por esse atributo no item.xml <attribute key="maxHitPoints" value="1000"/> <attribute key="maxManaPoints" value="1000"/> no ring sei almentar % de hit magico. almentara death holy e todos outros. <attribute key="incraseMagicPercent" value="20"/> REP+?
  22. Tchubaka

    [Spell] Bold Fluor

    varias tpw de arrow? tenta isso entao. local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_GREENSTAR) setCombatParam(combat1, COMBAT_PARAM_AGGRESSIVE, 0) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_BOLT) setCombatParam(combat2, COMBAT_PARAM_AGGRESSIVE, 0) local combat3 = createCombatObject() setCombatParam(combat3, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_BURSTARROW) setCombatParam(combat3, COMBAT_PARAM_AGGRESSIVE, 0) local combat4 = createCombatObject() setCombatParam(combat4, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_POISONARROW) setCombatParam(combat4, COMBAT_PARAM_AGGRESSIVE, 0) local combat5 = createCombatObject() setCombatParam(combat5, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_POWERBOLT) setCombatParam(combat5, COMBAT_PARAM_AGGRESSIVE, 0) arr1 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 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, 0, 0, 0, 0, 0, 0} } arr4 = { {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, {0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0}, {0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0} } arr5 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 1, 1, 1, 3, 1, 1, 1, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} } local area1 = createCombatArea(arr1) local area2 = createCombatArea(arr2) local area3 = createCombatArea(arr3) local area4 = createCombatArea(arr4) local area5 = createCombatArea(arr5) setCombatArea(combat1, area1) setCombatArea(combat2, area2) setCombatArea(combat3, area3) setCombatArea(combat4, area4) setCombatArea(combat5, area5) local function onCastSpell1(parameters) doCombat(parameters.cid, combat1, parameters.var) end local function onCastSpell2(parameters) doCombat(parameters.cid, combat2, parameters.var) end local function onCastSpell3(parameters) doCombat(parameters.cid, combat3, parameters.var) end local function onCastSpell4(parameters) doCombat(parameters.cid, combat4, parameters.var) end local function onCastSpell5(parameters) doCombat(parameters.cid, combat5, parameters.var) end function onCastSpell(cid, var) doSendMagicEffect(getCreaturePosition(cid),14) local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3, combat4 = combat4, combat5 = combat5 } addEvent(onCastSpell1, 000, parameters) addEvent(onCastSpell2, 600, parameters) addEvent(onCastSpell3, 1200, parameters) addEvent(onCastSpell4, 2000, parameters) addEvent(onCastSpell3, 2600, parameters) addEvent(onCastSpell2, 3200, parameters) addEvent(onCastSpell5, 3800, parameters) return TRUE end
  23. lfelipebsilva05 aqui. essas espadas nao da pra tranformar por clique. igual mult arrow. ela e igual corda da use aparece pra usar em algum lugar. entao fiz essa talkactions.
  24. ta ai pra vocÊ. REP+?
  25. Tchubaka

    Bug Loot

    tenta isso. <?xml version="1.0" encoding="UTF-8"?> <monster name="Magikarp" nameDescription="a wild magikarp" race="water" experience="30" speed="100" manacost="0"> <health now="200" max="200"/> <look type="19" head="20" body="30" legs="40" feet="50" corpse="2817"/> <targetchange interval="10000" chance="10"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="1"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="1"/> <flag convinceable="1"/> <flag pushable="1"/> <flag canpushitems="0"/> <flag canpushcreatures="0"/> <flag targetdistance="1"/> <flag staticattack="90"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="2500" min="-4" max="-9"/> </attacks> <defenses armor="0" defense="0"/> <elements> <element earthPercent="-41"/> <element electricPercent="-41"/> <element firePercent="30"/> <element icePercent="30"/> <element drownPercent="30"/> </elements> <loot> <item id="2687" countmax="1" chance="100000"/> </loot> <script> <event name="Exp"/> </script> </monster> AJUDEI? REP+
  • Quem Está Navegando   0 membros estão online

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