Histórico de Curtidas
-
Novato ON recebeu reputação de Kimoszin em [Scripting] De Pets;
-
Novato ON deu reputação a Souferaa em [PEDIDO] Colocando Efeito Na ArrowTAO SE É O FODAO? TIRANDO FOTO DE LADINHO FAZENDO HANG LOSE.. OCULOS MAROTINHA.. HUMILDADE QUE É BOM CADE?
-
Novato ON deu reputação a lano em [TOPICO] FEXADOEm seuot/data/spell/scripts/support/sharpshooter.lua
apague a parte
local speed = createConditionObject(CONDITION_PARALYZE) setConditionParam(speed, CONDITION_PARAM_TICKS, 10000) setConditionFormula(speed, -0.7, 56, -0.7, 56) setCombatCondition(combat, speed)
-
Novato ON recebeu reputação de Kimoszin em [TOPICO] FEXADO.
-
Novato ON deu reputação a Kimoszin em [TOPICO] FEXADOdoSummonCreature("Pet Holy", fromPosition.x + 1)
-
Novato ON deu reputação a 9k22 em [TOPICO] FEXADOfunction onUse(cid, item, fromPosition, itemEx, toPosition) local config = { creature = 'Summon Wolf', -- Nome da criatura a ser sumonada maxsummon = 1, -- Numero maximo de summons que o player podera sumonar level = 30, -- Level para poder sumonar delay = 10, -- minutos de espera para poder sumonar novamente stor = 819902 } local function removeSummon(cid, summon) if not isCreature(cid) then return LUA_ERROR end if isCreature(summon) then doRemoveCreature(summon) end end if getPlayerLevel(cid) < config.level then return doPlayerSendCancel(cid, "Você precisa ter level "..config.level.." ou mais para usar o item.") elseif #getCreatureSummons(cid) >= config.maxsummon then return doPlayerSendCancel(cid, "Você já está com seu pet ativado.") elseif getPlayerStorageValue(cid, config.stor) >= os.time() then local minutos = math.floor((getPlayerStorageValue(cid,config.stor) - os.time())/(60)) return doPlayerSendCancel(cid, "Você deve esperar ".. (minutos <= 0 and getPlayerStorageValue(cid, config.stor) - os.time() or minutos) .." "..(minutos <= 0 and "segundos" or "minutos").." para usar esse item de novo.") elseif (getTilePzInfo(getCreaturePosition(cid))) then return doPlayerSendCancel(cid, "Você não pode usar esse item em PZ.") end local summon = doSummonCreature(config.creature, getCreaturePosition(cid)) doConvinceCreature(cid, summon) addEvent(removeSummon, config.delay*60*1000, cid, summon) setPlayerStorageValue(cid, config.stor, os.time()+config.delay*60) return true end
-
Novato ON deu reputação a raell5 2 em Arrow é Shield Multi Elementall !Bom Beleza Galera Estou Hj Aque Para Quem Tem Baiak ai Pressizar Muito Desse Script Que Vou Fazer Se Char Arrow e Shield Multi Elementall Vc Pode Trocar A Arrow e O Shield!
Bom Vamos Lá ! Segue O Exemplo Há Baixo !
Vá em data/actions/actions.xml e Bote Isto !
Em data/actions/scripts crie uma pasta chamada transformarrow.lua e bote isso dentro dela !
Bom Agora Seu Systema De Arrow Element Esta Pronto !
Agora vamos Para O Shield !
Vá em data/actions/actions.xml e bote
Em data/actions/scripts crie uma pasta chamada transformshield.lua e bote isso dentro dela !
Bom Ta Tudo Aew Para Vc Killa All E Virar 1 Undead ! Raell's ATT + REP Quem Gostar !
[bom Fiz Este Tutorial Para Os MAPAS Baiak Pq Sempre Pressizao Desse Escript ! ATT
-
Novato ON deu reputação a Garou em Arrow é Shield Multi Elementall !Como dito por você mesmo, um bom código para Baiaks, mããs...
local ITEM_IDS = { [8905] = 8906, [8907] = 8906, [8906] = 8909, [8909] = 8907, [8907] = 8908, [8908] = 8905, } Dois indexes iguais na tabela, possuindo valores diferentes, WTF? E pelo que notei como os todos os IDs seguem um padrão, tudo pode ser resumido a: local ARROWS = {7838, 7839, 7840, 7850} local SHIELDS = {8905, 8906, 8907, 8908, 8909} function onUse(cid, item, fromPosition, itemEx, toPosition) if isInArray(SHIELDS, item.itemid) then return doTransformItem(item.uid, (item.itemid == 8909 and 8905 or item.itemid+1)) elseif isInArray(ARROWS, item.itemid) then return doTransformItem(item.uid, (item.itemid == 7850 and 7838 or item.itemid+1)) else return false end end
-
Novato ON deu reputação a 9k22 em [Scripting] De PetsBem, eu tenho um aki, vc pode configurar! Em action:
function onUse(cid, item, fromPosition, itemEx, toPosition) local config = { creature = 'Summon Wolf', -- Nome da criatura maxsummon = 1, -- Numero maximo de summons level = 30, delay = 10, -- em minutos stor = 819902 } local function removeSummon(cid, summon) if not isCreature(cid) then return LUA_ERROR end if isCreature(summon) then doRemoveCreature(summon) end end if getPlayerLevel(cid) < config.level then return doPlayerSendCancel(cid, "Você precisa ter level "..config.level.." ou mais para usar o item.") elseif #getCreatureSummons(cid) >= config.maxsummon then return doPlayerSendCancel(cid, "Você já está com seu pet ativado.") elseif getPlayerStorageValue(cid, config.stor) >= os.time() then local minutos = math.floor((getPlayerStorageValue(cid,config.stor) - os.time())/(60)) return doPlayerSendCancel(cid, "Você deve esperar ".. (minutos <= 0 and getPlayerStorageValue(cid, config.stor) - os.time() or minutos) .." "..(minutos <= 0 and "segundos" or "minutos").." para usar esse item de novo.") elseif (getTilePzInfo(getCreaturePosition(cid))) then return doPlayerSendCancel(cid, "Você não pode usar esse item em PZ.") end local summon = doSummonCreature(config.creature, getCreaturePosition(cid)) doConvinceCreature(cid, summon) addEvent(removeSummon, config.delay*60*1000, cid, summon) setPlayerStorageValue(cid, config.stor, os.time()+config.delay*60) return true end
Desculpa não lhe ajudar por completo, infelismente só dei uma passada aqui e vi teu tópic, anoite eu poderei lhe ajudar melhor! Qualquer coisa só postar...
-
Novato ON deu reputação a Slaake em [Monster Tuto] Seu Trainer sai do lugar ao voce deichar o treiner ? Saiba como arrumar istoFala ai galerinha do TK, tudo bem com vocês ? Bom, eu ja vi em muitos ots que baixei, o treiner andar apos agnt sair do treiner, vamo supor, tem o tile que agnt ta treiner, ai tem um treiner na diagonal direita e um na esquerda, e logo apos agnt sair do treiner, 1 desses treiner dece, e vai para onde agnt fica, trapando a entrada, e só volta quando o sv desliga.
Vou ensinar voces a como arrumar isso.
Abra a pasta do seu treiner, e provavelmente deve estar assim:
<?xml version="1.0" encoding="UTF-8"?> <monster name="Treiner Monk" nameDescription="a dark monk" race="blood" experience="120" speed="360" manacost="0"> <health now="99000" max="99000"/> <look type="225" corpse="6080"/> <targetchange interval="5000" chance="8"/> <strategy attack="150" defense="200"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag targetdistance="1"/> <flag staticattack="50"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="5000" min="0" max="-1"/> <attack name="lifedrain" interval="1000" chance="12" range="1" min="-1" max="-2"> <attribute key="areaEffect" value="redshimmer"/> </attack> </attacks> <defenses armor="0" defense="0"> <defense name="healing" interval="10000" chance="100" min="24000" max="24000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="speed" interval="1000" chance="10" speedchange="800" duration="6000"> <attribute key="areaEffect" value="redshimmer"/> </defense> </defenses> <elements> <element deathPercent="40"/> <element holyPercent="-20"/> <element physicalPercent="-12"/> </elements> <immunities> <immunity invisible="1"/> </immunities> <voices interval="5000" chance="10"> <voice sentence="You are no match to us!"/> <voice sentence="This is where your path will end!"/> <voice sentence="Your end has come!"/> </voices> <loot> <item id="2148" countmax="20" chance="100000"/><!-- gold coin --> <item id="2439" chance="400"/><!-- daramanian mace --> <item id="1949" chance="10000"/><!-- scroll --> <item id="2467" chance="10000"/><!-- leather armor --> <item id="2642" chance="6666"/><!-- sandals --> <item id="3976" countmax="10" chance="50000"/><!-- worm --> <item id="1987" chance="100000"><!-- bag --> <inside> <item id="2177" countmax="1" chance="1000"/><!-- life crystal --> <item id="2044" chance="6666"/><!-- lamp --> <item id="2689" countmax="3" chance="20000"/><!-- bread --> <item id="2401" chance="3333"/><!-- staff --> <item id="2440" chance="100"/><!-- daramanian waraxe --> <item id="2166" chance="1428"/><!-- power ring --> <item id="1949" chance="20000"/><!-- scroll --> <item id="2193" chance="1200"/><!-- ankh --> </inside> </item> </loot> </monster> <?xml version="1.0" encoding="UTF-8"?> <monster name="Treiner Monk" nameDescription="a dark monk" race="blood" experience="0" speed="0" manacost="0"> <health now="99000" max="99000"/> <look type="225" corpse="6080"/> <targetchange interval="5000" chance="8"/> <strategy attack="150" defense="200"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag targetdistance="1"/> <flag staticattack="50"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="5000" min="0" max="-1"/> <attack name="lifedrain" interval="1000" chance="12" range="1" min="-55" max="-100"> <attribute key="areaEffect" value="redshimmer"/> </attack> </attacks> <defenses armor="0" defense="0"> <defense name="healing" interval="10000" chance="100" min="24000" max="24000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="speed" interval="1000" chance="10" speedchange="800" duration="6000"> <attribute key="areaEffect" value="redshimmer"/> </defense> </defenses> <elements> <element deathPercent="40"/> <element holyPercent="-20"/> <element physicalPercent="-12"/> </elements> <immunities> <immunity invisible="1"/> </immunities> <voices interval="5000" chance="10"> <voice sentence="You are no match to us!"/> <voice sentence="This is where your path will end!"/> <voice sentence="Your end has come!"/> </voices> <loot> <item id="2148" countmax="20" chance="100000"/><!-- gold coin --> <item id="2439" chance="400"/><!-- daramanian mace --> <item id="1949" chance="10000"/><!-- scroll --> <item id="2467" chance="10000"/><!-- leather armor --> <item id="2642" chance="6666"/><!-- sandals --> <item id="3976" countmax="10" chance="50000"/><!-- worm --> <item id="1987" chance="100000"><!-- bag --> <inside> <item id="2177" countmax="1" chance="1000"/><!-- life crystal --> <item id="2044" chance="6666"/><!-- lamp --> <item id="2689" countmax="3" chance="20000"/><!-- bread --> <item id="2401" chance="3333"/><!-- staff --> <item id="2440" chance="100"/><!-- daramanian waraxe --> <item id="2166" chance="1428"/><!-- power ring --> <item id="1949" chance="20000"/><!-- scroll --> <item id="2193" chance="1200"/><!-- ankh --> </inside> </item> </loot> </monster> speed="0"
Esse speed, é a velocidade que o monster anda, se voce botar 0, ele nao anda
É isso galerinha, ate mais, espero ter ajudado
(Esse treiner.xml eu peguei de um colega, pq to sem pasta de ot aki
)
Agora só substituir por este: Explicando, é só voce colocar 0 nesta parte: -
Novato ON deu reputação a Slaake em [Action] Promotion Por ItemEae galerinha, hoje eu fiz um script de promotion. Como ele funciona ? Bom, o player vai precisar de um item X, e quando ele der use, ele pega a promotion, vamos lá ?
1º: Vá em data/actions/scripts , copie qualquer arquivo .lua , abra-o, apague o que estiver la dentro, renomeio para voc
e ponha isto:
2º: Vá em data/actions/action.xml e adicione esta tag:
<action itemid="IDDOITEM" script="voc.lua" />
Bom, é isso galera, espero que tenham gostado, testei no meu sv 8.6 e deu certo
.
Gostou ? Da um REP+ Ae