mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 02:11:30 +00:00
[Cleanup] Cleanup macros in features.h (#3185)
# Notes - These needed to either be wrapped in parentheses or simplified to their values. - https://pvs-studio.com/en/docs/warnings/v1003/
This commit is contained in:
parent
d43af28de4
commit
3e652b98bc
@ -218,14 +218,14 @@ enum { //some random constants
|
||||
#define HARD_LEVEL_CAP 127
|
||||
|
||||
//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
|
||||
#define USE_NPC_RANGE2 40000 //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
|
||||
#define EXP_FORMULA (level * level * 75 * 35 / 10)
|
||||
|
||||
#define HIGHEST_AA_VALUE 35
|
||||
|
||||
@ -295,7 +295,7 @@ Developer configuration
|
||||
|
||||
#define COMMON_PROFILE
|
||||
|
||||
#define PROFILE_DUMP_TIME 3*60
|
||||
#define PROFILE_DUMP_TIME 180
|
||||
#endif //EQPROFILE
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user