Por ZombiTR, 12 de fev. de 2014 em Archived
info
Grupo: Campones
Registrado: 28/08/13
Posts: 23
Reputação: +1
Hello! I Have a bug on my game. I used PDA Have Level System.What can i do?Poison Gas.lua script infunction onCastSpell(cid, var) if isSummon(cid) then return true end docastspell(cid, "Poison Gas")return trueendspells.xml <instant name="Poison Gas" words="spell087" lvl="1000" mana="0" event="script" value="ps/Poison Gas.lua"></instant>Please Help Me.
Bellossom.xml<?xml version="1.0" encoding="UTF-8"?><monster name="Bellossom" nameDescription="a bellossom" race="grass" experience="652" speed="121" manacost="0"> <health now="150" max="150"/> <look type="897" head="45" body="65" legs="95" feet="113" corpse="3272"/> <targetchange interval="10000" chance="0"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="1"/> <flag attackable="1"/> <flag hostile="1"/> <flag passive="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="18"/> </flags> <attacks> <attack name="melee" interval="2000" chance="100" range="1" min="-50" max="-100"/> <attack name="Absorb" interval="3040" chance="28" range="1"/> <attack name="Acid" interval="2758" chance="30" range="3"/> <attack name="Leech Seed" interval="3040" chance="28" range="3"/> <attack name="Poison Bomb" interval="2899" chance="29" range="3"/> <attack name="Poison Gas" interval="3369" chance="26" range="6"/> <attack name="Solar Beam" interval="4463" chance="18" range="4"/> <attack name="Petal Dance" interval="3322" chance="26" range="6"/> <attack name="Sleep Powder" interval="5625" chance="18" range="6"/> <attack name="Poison Powder" interval="5625" chance="18" range="6"/> <attack name="Stun Spore" interval="5625" chance="18" range="6"/> </attacks> <defenses armor="0" defense="0"/> <voices interval="5000" chance="10"> <voice sentence="BELLOO!"/><voice sentence="SSOOOM!"/><voice sentence="BELLOSSOM!"/> </voices> <loot> <item id="12163" chance="20000" countmax="50"/> --Seed <item id="12155" chance="7000" count="1" countmax="1"/> --Leaves <item id="12153" chance="6000" count="1" countmax="1"/> --Bag of polem <item id="12242" chance="80" count="1" countmax="1"/> --Sun Stone </loot> <script> <event name="Spawn"/> </script></monster>
Editado Fevereiro 12 por ZombiTR
info
Grupo: Campones
Registrado: 28/08/13
Posts: 23
Reputação: +1
Hello! I Have a bug on my game. I used PDA Have Level System.


What can i do?
Poison Gas.lua script in
function onCastSpell(cid, var)
if isSummon(cid) then return true end
docastspell(cid, "Poison Gas")
return true
end
spells.xml
<instant name="Poison Gas" words="spell087" lvl="1000" mana="0" event="script" value="ps/Poison Gas.lua"></instant>
Please Help Me.
Bellossom.xml
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Bellossom" nameDescription="a bellossom" race="grass" experience="652" speed="121" manacost="0">
<health now="150" max="150"/>
<look type="897" head="45" body="65" legs="95" feet="113" corpse="3272"/>
<targetchange interval="10000" chance="0"/>
<strategy attack="100" defense="0"/>
<flags>
<flag summonable="1"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag passive="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="18"/>
</flags>
<attacks>
<attack name="melee" interval="2000" chance="100" range="1" min="-50" max="-100"/>
<attack name="Absorb" interval="3040" chance="28" range="1"/>
<attack name="Acid" interval="2758" chance="30" range="3"/>
<attack name="Leech Seed" interval="3040" chance="28" range="3"/>
<attack name="Poison Bomb" interval="2899" chance="29" range="3"/>
<attack name="Poison Gas" interval="3369" chance="26" range="6"/>
<attack name="Solar Beam" interval="4463" chance="18" range="4"/>
<attack name="Petal Dance" interval="3322" chance="26" range="6"/>
<attack name="Sleep Powder" interval="5625" chance="18" range="6"/>
<attack name="Poison Powder" interval="5625" chance="18" range="6"/>
<attack name="Stun Spore" interval="5625" chance="18" range="6"/>
</attacks>
<defenses armor="0" defense="0"/>
<voices interval="5000" chance="10">
<voice sentence="BELLOO!"/>
<voice sentence="SSOOOM!"/>
<voice sentence="BELLOSSOM!"/>
</voices>
<loot>
<item id="12163" chance="20000" countmax="50"/> --Seed
<item id="12155" chance="7000" count="1" countmax="1"/> --Leaves
<item id="12153" chance="6000" count="1" countmax="1"/> --Bag of polem
<item id="12242" chance="80" count="1" countmax="1"/> --Sun Stone
</loot>
<script>
<event name="Spawn"/>
</script>
</monster>
Editado Fevereiro 12 por ZombiTR