FarmingProtection
Prevents farming of natural elite mobs by limiting rewarded kills per time window. Also limits XP/loot based on level difference between player and mob.
Functions
Link copied to clipboard
Gets how many kills the player has made in the current farming protection window.
Link copied to clipboard
Gets the effective mob level for loot calculation (capped at +5 of combat level).
Link copied to clipboard
Gets the effective mob level for XP calculation (capped at +5 of combat level).
Link copied to clipboard
Link copied to clipboard
Calculates XP multiplier based on level difference.
Link copied to clipboard
Link copied to clipboard
Checks if a player is currently capped from earning natural elite rewards.
Link copied to clipboard
Whether a kill is close enough to the player's level to award skill XP.
Link copied to clipboard
Records a natural elite kill and checks if the player is capped.
Link copied to clipboard
Checks if loot should drop based on level difference.