

SkyLigh
Lorde-
Total de itens
2183 -
Registro em
-
Última visita
-
Dias Ganhos
23
Tudo que SkyLigh postou
-
Duvida Sanada Reportado Para um Superior
-
Duvida Sanada Reportado Para Um Superior
- 6 respostas
-
- pedido de script muito util
- resolvido
- (e 3 mais)
-
pedido Alguem Cria Esse Script Que Aparece No Video?
pergunta respondeu ao JuAnXtIbIa de SkyLigh em Scripts
Duvida Sanada Reportado Para Um Superior -
so que eu editei uma parte ali.
-
veja assim acho que ja descobri local SPECIAL_QUESTS = {2001} function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor) if(not isPlayer(cid)) then return true end if(isContainer(item.uid)) then if(not isInArray(SPECIAL_QUESTS, item.actionid) and item.uid > 65535) then return true elseif getTileInfo(position.creatures) == 1 then end return true end if(fromPosition.x == 0) then -- player just logged in fromPosition = getTownTemplePosition(getPlayerTown(cid)) doSendMagicEffect(fromPosition, CONST_ME_TELEPORT) end doTeleportThing(cid, fromPosition, true) return true end
-
use assim function onUse(cid, item, frompos, item2, topos, nPos) npos = {x=frompos.x, y=frompos.y, z=frompos.z} if item.itemid == 1386 or item.itemid == 3678 then npos.y = npos.y + 1 npos.z = npos.z - 1 doTeleportThing(cid,nPos) else npos.z = npos.z + 1 doTeleportThing(cid,nPos) end return 1 end
-
na verdade tenque ficar assim passivepokemons = {"Ponyta", "Rapidash", "Clefable", "Nidoran Female", "Metapod", "Butterfree", 'Pidgey', 'Clefairy', 'Jigglypuff', 'Oddish', 'Gloom', 'Paras', 'Psyduck', 'Bellsprout', 'Weepinbell', 'Slowpoke', 'Slowbro', "Farfetch'd", 'Doduo', 'Dodrio', 'Seel', 'Shellder', 'Exeggcute', 'Chansey', 'Tangela', 'Tauros', 'Ditto', 'Lapras', 'Porygon', 'Kangaskhan'},
-
pedido Presiso Q Ao Tomar Ban O Player Perca 25% Dos Lvls
pergunta respondeu ao wandersonnc de SkyLigh em Scripts
Duvida sanada reportado Para Um Superior -
Duvida Sanada reportado Para um Superior
-
use o xml assim <?xml version="1.0" encoding="UTF-8"?> <monster name="Clefable" nameDescription="a clefable" race="normal" experience="288" speed="0" manacost="0"> <health now="130" max="130"/> <look type="419" head="60" body="80" legs="95" feet="113" corpse="11854"/> <targetchange interval="10000" chance="0"/> <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="97"/> <flag runonhealth="0"/> <flag hungerdelay="19"/> </flags> <attacks> <attack name="melee" interval="2000" chance="100" range="1" min="-50" max="-100"/> <attack name="Doubleslap" interval="2617" chance="30" range="1"/> <attack name="Sing" interval="5625" chance="31" range="6"/> <attack name="Multislap" interval="3920" chance="20" range="4"/> <attack name="Lovely Kiss" interval="3920" chance="20" range="3"/> <attack name="Selfheal" interval="5625" chance="18" range="6"/> <attack name="Healarea" interval="5625" chance="18" range="6"/> <attack name="Great Love" interval="4125" chance="18" range="6"/> <attack name="Focus" interval="4625" chance="18" range="6"/> <attack name="Metronome" interval="6330" chance="17" range="6"/> </attacks> <defenses armor="0" defense="0"/> <voices interval="5000" chance="10"> <voice sentence="CLEFABLE!"/> </voices> <loot> <item id="12179" chance="4000" count="1" countmax="1"/> <item id="11453" chance="100" count="1" countmax="1"/> </loot> <script> <event name="Spawn"/> </script> <event name="BlockSpells"/> <event name="BlockHit"/> <event name="Configuration"/> <event name="AvoidLook"/> <event name="Exp"/> </script> </monster> em data / lib / speed.lua configura a speed do monster
-
duvida sanada reportado para um superior
-
então tente assim local SPECIAL_QUESTS = {2001} function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor, creatures) if(not isPlayer(cid)) then return true end if(isContainer(item.uid)) then if(not isInArray(SPECIAL_QUESTS, item.actionid) and item.uid > 65535) then return true end elseif getTileInfo(position.creatures) == 1 then return true end if(fromPosition.x == 0) then -- player just logged in fromPosition = getTownTemplePosition(getPlayerTown(cid)) doSendMagicEffect(fromPosition, CONST_ME_TELEPORT) end doTeleportThing(cid, fromPosition, true) return true end
-
veja assim local config = { doorPosition = {x = 100, y = 100, z = 7}, doorID = 1000, minAccess = 6, message = { doorOpen = "The door has been opened!", doorClose = "The door has been closed!" } } function onUse(cid, item, frompos, item2, topos) if getPlayerAccess(cid) >= config.minAccess then local item = getTileItemById(config.doorPosition, config.doorID) if item.uid > 0 then doRemoveItem(item.uid, 1) doPlayerSnedTextMessage(cid, 22, config.message.doorOpen) else doCreateItem(config.doorID, 1, config.doorPosition) doPlayerSendTextMessage(cid, 22, config.message.doorClose) end end return true end
-
Achei na net -- POR MASTERCRAFT (######) / BRUN123 (xtibia.com) -- Para um pokemon tornar-se passivo, você deve adicionar a seguinte tag no final do arquivo XML do monstro (antes de </monster>) as seguintes tags: <script> <event name="BlockSpells"/> <event name="BlockHit"/> <event name="Configuration"/> <event name="AvoidLook"/> <event name="Exp"/> </script> LEMBRANDO: Deve-se colocar a velocidade (speed) do monstro = 0, senão não funcionará. Agora vai em data/lib/speed.lua, aqui você deve colocar a velocidade que o monstro vai ter ao ser atacado por algum player. Se não for adicionado aqui, o monstro ficará com a velocidade 145. OBS: EM MONSTROS AGRESSIVOS, DEVE-SE COLOCAR A TAG: <script> <event name="Exp"/> </script> ISSO É PARA O FUNCIONAMENTO GERAL DO MONSTRO. ESSA TAG DEVE ESTAR EM CADA MONSTRO SELVAGEM SENDO AGRESSIVO OU NÃO. LEMBRANDO QUE POKEMONS SELVAGEM TEM UM "S" NA FRENTE DO NOME. EXEMPLO: "Bellsprout s". OS POKEMONS DE PLAYERS NÃO TEM ESSE "S" NA FRENTE E NÃO É NECESSÁRIO ADICIONAR NENHUM TIPOE DE SCRIPT NELE.
-
Duvida sanada reportado Para um superior
-
Título Irregular Reportado Para um superior
-
achei um do lordbug tenta ai local gatepos = {x=9845, y=10284, z=15, stackpos=1} --posição do primeiro portão local gatepos2 = {x=9845, y=10284, z=15, stackpos=1} -- posição do segundo portão,altere local g = 1355 --id do primeiro portão local g2 = 1355 --id do segundo portão function onUse(cid, item, frompos, item2, topos) local getgate = getThingfromPos(gatepos) local getgate2 = getThingfromPos(gatepos2) if item.itemid == 1945 and getgate.itemid == g and getgate2.itemid == g2 then doRemoveItem(getgate.uid, 1) doRemoveItem(getgate2.uid, 1) doTransformItem(item.uid, item.itemid+1) elseif item.itemid == 1946 and getgate.itemid == 0 and getgate2.itemid == 0 then doCreateItem(g, 1, gatepos) doCreateItem(g2, 1, gatepos2) doTransformItem(item.uid, item.itemid-1) else doPlayerSendCancel(cid,"Sorry, not possible.") end return 1 end
-
Duvida Sanada Reportado Para Um Superior
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.