ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/map.C
(Generate patch)

Comparing deliantra/server/common/map.C (file contents):
Revision 1.152 by root, Tue Dec 23 01:51:27 2008 UTC vs.
Revision 1.153 by root, Tue Dec 23 06:58:23 2008 UTC

965/* 965/*
966 * This routine is supposed to find out the difficulty of the map. 966 * This routine is supposed to find out the difficulty of the map.
967 * difficulty does not have a lot to do with character level, 967 * difficulty does not have a lot to do with character level,
968 * but does have a lot to do with treasure on the map. 968 * but does have a lot to do with treasure on the map.
969 * 969 *
970 * Difficulty can now be set by the map creature. If the value stored 970 * Difficulty can now be set by the map creator. If the value stored
971 * in the map is zero, then use this routine. Maps should really 971 * in the map is zero, then use this routine. Maps should really
972 * have a difficulty set than using this function - human calculation 972 * have a difficulty set rather than using this function - human calculation
973 * is much better than this functions guesswork. 973 * is much better than this function's guesswork.
974 */ 974 */
975int 975int
976maptile::estimate_difficulty () const 976maptile::estimate_difficulty () const
977{ 977{
978 long monster_cnt = 0; 978 long monster_cnt = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines