• 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!

Monster can't attack monster?

Make the monster immune to the attack type.
Also setting "lifedrain" as the attack type prevents other monsters from getting hurt by it. If it's immune of course.

Red
 
Make the monster immune to the attack type.
Also setting "lifedrain" as the attack type prevents other monsters from getting hurt by it. If it's immune of course.

Red

Lua:
		<attack name="water monster" interval="3000" chance="50" length="1" spread="1" min="-240" max="-360"> 
            <attribute key="areaEffect" value="fire"/> 
        </attack>  
	</attacks>
	<defenses armor="1" defense="2"/>
	<immunities>
		<immunity physical="0"/>
		<immunity energy="0"/>
		<immunity fire="100"/>
		<immunity poison="0"/>
		<immunity lifedrain="0"/>
		<immunity paralyze="0"/>
		<immunity outfit="0"/>
		<immunity drunk="0"/>
		<immunity invisible="0"/>
	</immunities>

It don't work, monster still attack other monster with fire resist 100
 
There are 2 ways.
The first one (1 stands for YES he is immune to it, 0 stands for NO he aint immune):
Code:
	<immunities>
		<immunity lifedrain="1"/>
		<immunity paralyze="1"/>
		<immunity invisible="1"/>
		<immunity fire="1"/>
	</immunities>

The other way (100 stands for, block 100% of the damage):
Code:
	<elements>
		<element physicalPercent="25"/>
		<element earthPercent="40"/>
		<element energyPercent="50"/>
		<element deathPercent="20"/>
		<element icePercent="-12"/>
		<element holyPercent="-12"/>
	</elements>
-12 (at holyPercent) means a monster is WEAK to that spell. So you will hit extra damage of 12% to a monster / 112%.
40 means a monster is STRONG to that spell. So you will only hit 60%.
 
Back
Top