mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-01 19:56:38 +00:00
[Skills] Make Tracking Skill Configurable (#1784)
Added 1 rule per class that defines tracking distance multiplier for that class Kept the defaults of 12 for ranger, 10 for druid, and 7 for bard Created 1 method for determining class tracking distance multiplier Created 1 method for determining if a class can track, based on multiplier Updated tracking logic to use these methods to determine whether a tracking packet should and can be sent or not.
This commit is contained in:
@@ -810,6 +810,11 @@ public:
|
||||
uint16 ScribeSpells(uint8 min_level, uint8 max_level);
|
||||
uint16 LearnDisciplines(uint8 min_level, uint8 max_level);
|
||||
|
||||
// Configurable Tracking Skill
|
||||
uint16 GetClassTrackingDistanceMultiplier(uint16 class_);
|
||||
|
||||
bool CanThisClassTrack();
|
||||
|
||||
// defer save used when bulk saving
|
||||
void UnscribeSpell(int slot, bool update_client = true, bool defer_save = false);
|
||||
void UnscribeSpellAll(bool update_client = true);
|
||||
|
||||
Reference in New Issue
Block a user