Fix rampage behavior Fixes #716

This commit is contained in:
Michael Cook (mackal)
2018-02-23 17:00:17 -05:00
parent 2d459a962e
commit ca0b9bc374
2 changed files with 25 additions and 3 deletions
+3
View File
@@ -219,6 +219,9 @@ enum { //some random constants
//the square of the maximum range at whihc you could possibly use NPC services (shop, tribute, etc)
#define USE_NPC_RANGE2 200*200 //arbitrary right now
// Squared range for rampage 75.0 * 75.0 for now
#define NPC_RAMPAGE_RANGE2 5625.0f
//the formula for experience for killing a mob.
//level is the only valid variable to use
#define EXP_FORMULA level*level*75*35/10