Ir para conteúdo
  • 0

Monster no hit/attack


Pergunta

3 respostass a esta questão

Posts Recomendados

  • 0

é simples, substitua esse flag:

		<flag attackable="1"/> 

Por esse:

		<flag attackable="0"/> 

Ele ficará assim:

 

 

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Warlock" nameDescription="a warlock" race="blood" experience="4000" speed="220" manacost="0">
	<health now="3500" max="3500"/>
	<look type="130" head="19" body="71" legs="128" feet="128" addons="1" corpse="20527"/>
	<targetchange interval="5000" chance="30"/>
	<strategy attack="100" defense="0"/>
	<flags>
		<flag summonable="0"/>
		<flag attackable="0"/>
		<flag hostile="1"/>
		<flag illusionable="0"/>
		<flag convinceable="0"/>
		<flag pushable="0"/>
		<flag canpushitems="1"/>
		<flag canpushcreatures="1"/>
		<flag targetdistance="4"/>
		<flag staticattack="90"/>
		<flag runonhealth="800"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" skill="42" attack="50"/>
		<attack name="physical" interval="1000" chance="35" range="7" min="-85" max="-185">
			<attribute key="shootEffect" value="energy"/>
		</attack>
		<attack name="manadrain" interval="1000" chance="17" range="7" min="-75" max="-160"/>
		<attack name="speed" interval="1000" chance="12" range="7" speedchange="-600" duration="40000">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
		<attack name="fire" interval="2000" chance="45" range="7" radius="3" target="1" min="-150" max="-220">
			<attribute key="shootEffect" value="burstarrow"/>
			<attribute key="areaEffect" value="firearea"/>
		</attack>
		<attack name="firefield" interval="1000" chance="20" range="7" radius="2" target="1">
			<attribute key="shootEffect" value="fire"/>
		</attack>
		<attack name="energy" interval="2000" chance="25" length="8" spread="0" min="-165" max="-245">
			<attribute key="areaEffect" value="energy"/>
		</attack>
		<attack name="speed" interval="6000" chance="10" range="5" speedchange="-600" duration="20000">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
	</attacks>
	<defenses armor="25" defense="30">
		<defense name="healing" interval="1000" chance="25" min="60" max="100">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
		<defense name="invisible" interval="5000" chance="50" duration="5000">
			<attribute key="areaEffect" value="redshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element firePercent="100"/>
		<element energyPercent="100"/>
		<element icePercent="100"/>
		<element earthPercent="90"/>
		<element holyPercent="-25"/>
		<element physicalPercent="-33"/>
	</elements>
	<immunities>
		<immunity paralyze="1"/>
		<immunity invisible="1"/>
	</immunities>
	<summons maxSummons="1">
		<summon name="stone golem" interval="2000" chance="10" max="1"/>
	</summons>
	<voices interval="5000" chance="10">
		<voice sentence="Learn the secret of our magic! YOUR death!"/>
		<voice sentence="Even a rat is a better mage than you."/>
		<voice sentence="We don't like intruders!"/>
	</voices>
	<loot>
		<item id="2148" countmax="80" chance="36500"/><!-- gold coin -->
		<item id="2148" countmax="70" chance="3t6500"/><!-- gold coin -->
		<item id="2679" countmax="5" chance="55000"/><!-- cherry -->
		<item id="2689" chance="22500"/><!-- bread -->
		<item id="2047" chance="15000"/><!-- candlestick -->
		<item id="2124" chance="7000"/><!-- crystal ring -->
		<item id="2792" countmax="5" chance="5000"/><!-- dark mushroom -->
		<item id="2167" chance="3000"/><!-- energy ring -->
		<item id="2600" chance="10000"/><!-- inkwell -->
		<item id="2178" chance="2500"/><!-- mind stone -->
		<item id="2411" chance="3000"/><!-- poison dagger -->
		<item id="2436" chance="3000"/><!-- skull staff -->
		<item id="2151" chance="5500"/><!-- talon -->
		<item id="7591" chance="12500"/><!-- great health potion -->
		<item id="7590" chance="10000"/><!-- great mana potion -->
		<item id="2656" chance="2000"/><!-- blue robe -->
		<item id="7368" countmax="4" chance="1200"/><!-- assassin star -->
		<item id="2146" chance="1400"/><!-- small sapphire -->
		<item id="1986" chance="800"/><!-- red tome -->
		<item id="2123" chance="850"/><!-- ring of the sky -->
		<item id="2197" chance="750"/><!-- stone skin amulet -->
		<item id="7898" chance="450"/><!-- lightning robe -->
		<item id="7895" chance="450"/><!-- lightning legs -->
		<item id="2466" chance="375"/><!-- golden armor -->
		<item id="2114" chance="100"/><!-- piggy bank -->
	</loot>
</monster>
 

 

 

Editado por narazaky
Link para o comentário
https://xtibia.com/forum/topic/232662-monster-no-hitattack/#findComment-1643232
Compartilhar em outros sites

×
×
  • Criar Novo...