Pesquisar na Comunidade
Mostrando resultados para as tags ''explode''.
Encontrado 2 registros
-
Galera esse aqui é o script de um monstro, que é um sumon, de uma vocaçao: <?xml version="1.0" encoding="UTF-8"?> <monster name="c1" nameDescription="c1" race="blood" experience="45800" speed="850" manacost="0"> <health now="9065000" max="9065000"/> <look type="204" head="0" body="94" legs="79" feet="79" corpse="2807"/> <targetchange interval="9000" chance="100"/> <strategy attack="90" defense="20"/> <flags> <flag summonable="1"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="1"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag targetdistance="4"/> <flag staticattack="65"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="4000" min="-2010" max="-3140"/> <attack name="manadrain" interval="1000" chance="10" range="7" min="-110" max="-125"> <attribute key="areaEffect" value="redshimmer"/> </attack> </attacks> <defenses armor="80" defense="80"> <defense name="healing" interval="4000" chance="40" min="300" max="300"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="speed" interval="4000" chance="10" speedchange="450" duration="3000"> <attribute key="areaEffect" value="redshimmer"/> </defense> </defenses> <elements> <element physicalPercent="20"/> <element icePercent="10"/> <element holyPercent="-15"/> <element deathPercent="35"/> </elements> <immunities> <immunity poison="1"/> <immunity lifedrain="1"/> <immunity outfit="1"/> <immunity drunk="1"/> <immunity invisible="1"/> </immunities> <voices interval="5000" chance="10"> <voice sentence="Katon no jutsu.." yell="1"/> </voices> <loot> <item id="2160" countmax="86" chance="10000"/><!-- gold bar --> <item id="2534" countmax="1" chance="15000"/><!-- orochimaru tunic --> <item id="8869" countmax="1" chance="15000"/><!-- orochimaru boots --> <item id="7389" countmax="1" chance="15000"/><!-- sasuke legs --> <item id="2451" countmax="1" chance="15000"/><!-- health mask --> <item id="7877" countmax="1" chance="15000"/><!-- imperium sowrd --> <item id="2529" countmax="1" chance="5000"/><!-- kage boots --> </loot> </monster> Eu quero que tipo, quando quem sumonou esse monstro, falasse "katsu" ele explodisse, dando dano em area... Vlw rep+ pra quem tentar ajudar!
-
Bem, galera, estou com dúvida sobre strings, queria saber como usa-las, não string tipo doPlayerSendCancel(cid, 'Message here') '-', quero saber como usar por exemplo, string.explode, string.gsub, string.match e etc, não achei nenhum tutorial no fórum, se alguem poder me ajudar, ficarei grato.