Gaining Experience
Each time a hostile NPC is killed, all nearby players will be awarded experience according to the formula:
experience = (max life / 100) * (1 + (defense / 10)) * (1 + (damage / 25))
You can think of this formula as:
- double the experience for every 10 defense stat
- double the experience for every 25 damage stat
Currently, all nearby players are given full, equal experience. All players within 5,000 units (a few screens) of the NPC will receive experience. When a boss is slain, all players will receive the experience regardless of distance and whether or not they are still alive.
You can choose to receive a message each time experience is gained by entering /expmsg. These messages are disabled by default.
Additional Details:
-Monsters with 5 or less health give no experience
-Monsters spawned by statues give no experience (due to a tModLoader bug, these monsters currently DO award experience in multiplayer)
-Well fed provides a 10% experience boost
-Rounds down to the nearest whole
-The minimum experience awarded is 1 unless exprate is set to 0% (see commands)
-Saves to the character (not to the map)
-Super defense enemies (e.g, crawltipede head and body) do not grant bonus experience based on their defense
[prevents crawltipede from awarding vastly more xp than any boss]
View attachment 154244
Character experience can be converted to item form at any Campfire. These items may be stored, traded, etc. The item is a consumable that re-grants 1 experience. You can craft these into variants for x100, x1000, and so on at any workbench and then consume those much more quickly.
Example: Eye of Cthulhu (solo, expert)
Health: 3640
Defense: 12
Damage: 30
Experience
= (max life / 100) * (1 + (defense / 10)) * (1 + (damage / 25))
= (3640/100) * (1 + (12/10)) * (1 + (30/25))
= 36.4 * 2.2 * 2.2
= 176.176
= 176 (round down to nearest int)