Looting and experience

From ThresholdRPG Wiki
Revision as of 08:28, 25 November 2021 by Aristotle (talk | contribs) (→‎Loot)

Gaining loot, coins, and experience from kills depends upon your level versus the monster's level. For the purposes of this article, your level means the highest level combatant in the fight.

Quite a number of older (read: most) monsters in the game have rules in their programming to determine the max level that a monster can be killed by in determining whether it will drop loot, coin, or grant experience. If such programming exists in a monster, this will take precedence over the loot, coin, and experience systems (described below), as these systems rely on the loot and coin existing on the monster when they makes their determinations.

Generally, you can tell if such programming exists when you kill a monster and there is no loot and no coins where there would have been if you were lower level.

The systems described below occur after the death programming in monsters.

Loot and coin each have their own processes but are nearly identical in result. The logic depends upon whether the monster and/or the player is above or below level 20.

We are gradually moving away from custom code in monsters to determine death loot, coin, and experience and converting old code to use the newer systems outlined below.

Loot

  • If monster is level 20 or greater and killer is level 20 or greater
    • Treat killer as level 20 and grant full value from loot
  • If monster is less than level 20
    • If killer's level is 5+ higher than the monster's level:
      • Remove the value from all items monster carries
      • Destruct any food items in monster and monster's containers
    • If killer's level is lower, equal to, or 1-4 levels higher than the monster:
      • Retain full value of items monster carries
      • Retain all food items in monster and monster's containers

Coin

  • If monster is level 20 or greater and killer is level 20 or greater
    • Treat killer as level 20 and grant full coin
  • If monster is less than level 20
    • If killer is greater than 5 levels of monster
      • Remove all coin from the monster
    • If killer is 5 levels greater than monster or less
      • Retain all coin in monster

Experience

Monster slaying

If the following criteria are not working, then it is likely that the monster (intentionally) has alternate death coding to determine whether XP is granted or not. The formulas only apply after the death code has run and relies on XP not having been wiped by the monster's custom death code.

  • If monster is less than level 20 and killer is level 20 or greater
    • Reduce XP by 15% per hegemony item worn to a maximum of 100%
  • If monster is lower level than the killer
    • Reduce XP by (2 * level difference)% to a maximum of 75%

Crafting

Experience reductions for crafting are similar to monster slaying, but without the hegemonic gear representation since there are no hegemonic crafting gear.

  • If recipe is lower level than the crafter
    • Reduce XP by (2 * level difference)% to a maximum of 75%