Ir para conteúdo
  • Cadastre-se

(Resolvido)Monstro Que Nao Anda


Ir para solução Resolvido por Storm,

Posts Recomendados

Eu fiz um quest e botei o boss sendo um obstaculo que para passar precisaria matar o boss porem que precisaria que o boss nao se Mova tipo ficar parado num mesmo sqm

Script do meu Boss

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Boss" nameDescription="Boss" race="blood" experience="45" speed="750" manacost="0">
	<health now="20650989" max="20650989"/>
	<look type="530" head="0" body="94" legs="79" feet="79" corpse="2908"/>
	<targetchange interval="9000" chance="100"/>
	<strategy attack="5" defense="5"/>
	<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="1"/>
		<flag staticattack="65"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="1000" min="-1010" max="-1140"/>
		<attack name="manadrain" interval="1000" chance="10" range="7" min="-1160" max="-1215">
			<attribute key="areaEffect" value="redshimmer"/>

		</attack>
		<attack name="Great Ball" interval="3500" chance="100" radius="4" target="0" min="-13340" max="-13600">
		</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="40" speedchange="450" duration="8000">
			<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="Ssssshhhhh.." yell="1"/>
		<voice sentence="Kinjutsu..."/>
		<voice sentence="Snakes go..."/>
	</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="2133" countmax="1" chance="15000"/><!-- fake kage mask -->
		<item id="7877" countmax="1" chance="15000"/><!-- imperium sowrd -->
		<item id="2647" countmax="1" chance="5000"/><!-- third hokage mask -->
	</loot>
</monster>

 

Editado por Jociel (veja o histórico de edições)
Link para o post
Compartilhar em outros sites
  • Moderador
8 minutos atrás, Jociel disse:

Eu fiz um quest e botei o boss sendo um obstaculo que para passar precisaria matar o boss porem que precisaria que o boss nao se Mova tipo ficar parado num mesmo sqm

Script do meu Boss


<?xml version="1.0" encoding="UTF-8"?>
<monster name="Boss" nameDescription="Boss" race="blood" experience="45" speed="750" manacost="0">
	<health now="20650989" max="20650989"/>
	<look type="530" head="0" body="94" legs="79" feet="79" corpse="2908"/>
	<targetchange interval="9000" chance="100"/>
	<strategy attack="5" defense="5"/>
	<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="1"/>
		<flag staticattack="65"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="1000" min="-1010" max="-1140"/>
		<attack name="manadrain" interval="1000" chance="10" range="7" min="-1160" max="-1215">
			<attribute key="areaEffect" value="redshimmer"/>

		</attack>
		<attack name="Great Ball" interval="3500" chance="100" radius="4" target="0" min="-13340" max="-13600">
		</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="40" speedchange="450" duration="8000">
			<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="Ssssshhhhh.." yell="1"/>
		<voice sentence="Kinjutsu..."/>
		<voice sentence="Snakes go..."/>
	</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="2133" countmax="1" chance="15000"/><!-- fake kage mask -->
		<item id="7877" countmax="1" chance="15000"/><!-- imperium sowrd -->
		<item id="2647" countmax="1" chance="5000"/><!-- third hokage mask -->
	</loot>
</monster>

 

 

 

tenta não é só por speed 0 tem as flags:

 

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Boss" nameDescription="Boss" race="blood" experience="45" speed="0" manacost="0">
	<health now="20650989" max="20650989"/>
	<look type="530" head="0" body="94" legs="79" feet="79" corpse="2908"/>
	<targetchange interval="9000" chance="100"/>
	<strategy attack="5" defense="5"/>
	<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="1"/>
		<flag staticattack="65"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="1000" min="-1010" max="-1140"/>
		<attack name="manadrain" interval="1000" chance="10" range="7" min="-1160" max="-1215">
			<attribute key="areaEffect" value="redshimmer"/>

		</attack>
		<attack name="Great Ball" interval="3500" chance="100" radius="4" target="0" min="-13340" max="-13600">
		</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="40" speedchange="450" duration="8000">
			<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="Ssssshhhhh.." yell="1"/>
		<voice sentence="Kinjutsu..."/>
		<voice sentence="Snakes go..."/>
	</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="2133" countmax="1" chance="15000"/><!-- fake kage mask -->
		<item id="7877" countmax="1" chance="15000"/><!-- imperium sowrd -->
		<item id="2647" countmax="1" chance="5000"/><!-- third hokage mask -->
	</loot>
</monster>

 

 

20230912_034613.png.cf49b650c34dd7d7b1f79bd49c70f53c.png

Eu sou um entusiasta da programação apaixonado por ajudar a comunidade open source a crescer. Sempre em busca de novos desafios e oportunidades para contribuir com meu código.  #OpenSource #Programação #Contribuição

 

Link para o post
Compartilhar em outros sites

could not do speed= 0 that does not move the monster and when attacked speed= 450 so you can move. open a kind of scrip or something similar. @L3K0T

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo