• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved Monster Drops 1 Charges

trollebror

Developer
Joined
Aug 8, 2009
Messages
362
Reaction score
58
Location
Sweden, Linköping
Hi there.
What defines how many charges of a item a monster should drop? Is it in the item.xml or the monster files? I am using tfs 0.2.10.

This is how my item.xml looks like for silver amulet:
<item id="2170" name="silver amulet" article="a">
<attribute key="weight" value="500" />
<attribute key="slotType" value="necklace" />
<attribute key="charges" value="200" />
<attribute key="showcharges" value="1" />
<attribute key="absorbPercentEarth" value="10" />
</item>
But still, it drops silver amulets with only 1 charge. How come?

SOLVED:
<item id="2200" chance="25300" subtype="250" /><!-- protection amulet -->
 
Last edited:
<attribute key="showcharges" value="1" />

That's how many charges it shows, according to your code it displays one and has 200 I think.
 
Back
Top