• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Monster Insectoid

xx Kami xx

Retired.
Joined
Dec 29, 2012
Messages
509
Reaction score
20
My 2nd monster script.

JsfpOeQ.png


Lua:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Insectoid" nameDescription="Mr. Insectoid" race="undead" experience="5500" speed="400" manacost="0">
	<health now="7500" max="7500"/>
	<look type="403" mount="389"/>
	<targetchange interval="5000" chance="10"/>
	<strategy attack="100" defense="0"/>
	<flags>
		<flag summonable="0"/>
		<flag attackable="1"/>
		<flag hostile="1"/>
		<flag illusionable="0"/>
		<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="melee" interval="2000" skill="106" attack="140"/>
		<attack name="death" interval="1000" chance="9" range="7" min="0" max="-650">
			<attribute key="shootEffect" value="suddendeath"/>
			<attribute key="areaEffect" value="mortarea"/>
		</attack>
		<attack name="lifedrain" interval="1000" chance="9" length="7" spread="0" min="0" max="-600">
			<attribute key="areaEffect" value="redspark"/>
		</attack>
		<attack name="physical" interval="1000" chance="8" range="7" radius="4" target="1" min="0" max="-795">
			<attribute key="shootEffect" value="fire"/>
			<attribute key="areaEffect" value="redspark"/>
	 	</attack>
		<attack name="physical" interval="1000" chance="11" lenght="7" spread="3" min="0" max="-600">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
	</attacks>
	<defenses armor="50" defense="50">
		<defense name="healing" interval="1000" chance="150" min="700" max="1100">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element energyPercent="10"/>
		<element earthPercent="-20"/>
		<element icePercent="-10"/>
		<element holyPercent="10"/>
		<element deathPercent="-20"/>
		<element firePercent="10"/>
	</elements>
	<immunities>
		<immunity paralyze="1"/>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="Death!" yell="1"/>
		<voice sentence="Come a little closer!" yell="1"/>
		<voice sentence="The end is near!" yell="1"/>
	</voices>
	<loot>
		<item id="2148" countmax="90" chance="43750"/><!-- gold coin -->
		<item id="2148" countmax="80" chance="43750"/><!-- gold coin -->
		<item id="2148" countmax="75" chance="43750"/><!-- gold coin -->
	</loot>
</monster>
 

Similar threads

Back
Top