Eae XTibianos!
Primeiro copie um script na pasta spells--Monsters e coloque issu
local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FLAMMINGARROW) function onCastSpell(cid, var) return doCombat(cid, combat, var) end
vá no spells.xml na parte <!-- monster spells --> e coloque issu:
<rune name="flaming arrow" id="20026" enabled="1" script="monsters/flaming arrow.lua"></rune>
Agora vá em Monsters-Scripts, copie um script, renomeie para Flash, apague oq tiver dentro e cole issu:
<?xml version="1.0" encoding="UTF-8"?> <monster name="Flash" tp="1" nameDescription="a Flash" race="blood" experience="9000" speed="480" manacost="0"> <health now="4100" max="4100"/> <look type="129" head="94" body="77" legs="96" feet="0" addons="3" corpse="3128"/> <targetchange interval="60000" chance="0"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="1"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag targetdistance="1"/> <flag staticattack="90"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="flaming arrow" interval="1000" chance="60" min="-50" max="-120"/> <attack name="melee" interval="2000" skill="60" attack="85" fire="90"/> <attack name="physical" interval="1000" chance="17" range="7" min="-120" max="-200"> <attribute key="shootEffect" value="throwingstar"/> </attack> <attack name="melee" interval="1000" chance="10" range="7" radius="3" target="0" min="-115" max="-155"> <attribute key="areaEffect" value="blackspark"/> </attack> <attack name="energy" interval="2000" chance="30" length="8" spread="0" min="-300" max="-420"> <attribute key="areaEffect" value="redspark"/> </attack> <attack name="physical" interval="1000" chance="15" range="7" min="-170" max="-200"> <attribute key="shootEffect" value="snowball"/> <attribute key="areaEffect" value="poff"/> </attack> </attacks> <defenses armor="25" defense="30"> <defense name="healing" interval="1000" chance="25" min="180" max="290"> <attribute key="areaEffect" value="blueshimmer"/> </defense> </defenses> <immunities> <immunity physical="0"/> <immunity energy="0"/> <immunity fire="1"/> <immunity poison="1"/> <immunity lifedrain="1"/> <immunity paralyze="1"/> <immunity outfit="1"/> <immunity drunk="1"/> <immunity invisible="1"/> </immunities> <voices interval="3000" chance="10"> <voice sentence="kkk jah dei 5 voltas em vc!"/> <voice sentence="Vamu Mongo!"/> <voice sentence="Me pega!"/> </voices> <loot> <item id="2148" countmax="83" chance1="100000" chancemax="0"/> --Gold Coin <item id="2645" chance="400"/> --Steel Boots <item id="2169" countmax="1" chance1="4000" chancemax="0"/> --Time Ring <item id="2666" countmax="5" chance1="25000" chancemax="0"/> --Meat <item id="6500" countmax="5" chance1="2500" chancemax="0"/> --Demonic Essence <item id="7840" countmax="10" chance="1200"/> --Flaming arrow <item id="1987" chance="100000"> --Bag <inside> <item id="2487" chance="600"/> --Crown Armor <item id="2195" chance="2222"/> --Boh <item id="7840" countmax="5" chance1="9000" chancemax="0"/> --Flaming Arrow <item id="2488" chance="600"/> --Crown Legs <item id="5911" chance="1800"/> --Red Piece of Cloth </inside> </item> </loot> </monster>
dai entre no arquivo monsters.xml e coloque esta tag:
<monster name="Flash" file="Flash.xml" />
Eh issu ae ;D
Flwww
PS: Qntu ao Loot eu corrigi e add boh crown legs...