06-04-2004, 06:27 PM
It's reasonably complicated. There is no simple "area level -> TC" relationship.
For a given level, you need to
- get a list of all monsters spawnable in the area.
- work out the mlvls of all those monsters. mlvl = area level for regular monsters, +2 for champs, +3 for uniques, superuniques and minions.
- look up the base TC each monster drops from. eg H2H group for regular melee monsters, Cast group, Champ group, Unique group, Super group...
- look through the respective groups of TCs to find the highest one with level not more than the mlvl.
- look up which Equip TC this TC drops from.
- look up which weap/armo TC is the highest this Equip TC includes.
The fact that there is so much involved is probably why nobody has done this yet.
The files you will need to look these things up in are levels.txt, monstats.txt, treasureclassex.txt, and even superuniques.txt if you are being thorough.
For a given level, you need to
- get a list of all monsters spawnable in the area.
- work out the mlvls of all those monsters. mlvl = area level for regular monsters, +2 for champs, +3 for uniques, superuniques and minions.
- look up the base TC each monster drops from. eg H2H group for regular melee monsters, Cast group, Champ group, Unique group, Super group...
- look through the respective groups of TCs to find the highest one with level not more than the mlvl.
- look up which Equip TC this TC drops from.
- look up which weap/armo TC is the highest this Equip TC includes.
The fact that there is so much involved is probably why nobody has done this yet.
The files you will need to look these things up in are levels.txt, monstats.txt, treasureclassex.txt, and even superuniques.txt if you are being thorough.
"Thank you. We always have a shortage of unfounded opinions, so this will really help us. " - adeyke