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

How could I make monster receive damage walking into magic fields?

Ampharo

New Member
Joined
Apr 1, 2014
Messages
1
Reaction score
0
I have seen monsters only get damage when there is a rune that thrown a magic field below, but when the magicfield is already on the floor, the monsters walks through without receiving dmg
 
It could be there is multiple kinds of magic field in your items.xml

Probably, at minimum you will find at least these permutations:
1.) Permanent ones that do not do damage
2.) Permanent ones that do damage
3.) Temporary ones that decay and do damage

Your runes are definitely creating type 3. But in your map you placed down type 1 not type 2.

You can confirm this by opening your map and looking at the ItemID of the fields in question. Then look in your movements.xml file for the onStep for that ItemID. If there is no function or script for it, it indeed will do nothing.

Also, you didn't state your server version, but old one enums fields here, and new one enums fields here.
 
Last edited:
Back
Top