mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-02 16:46:37 +00:00
[Quest API] Add MaxSkills() to Perl/Lua. (#2621)
* [Quest API] Add MaxSkills() to Perl/Lua. # Perl - Add `$client->MaxSkills()`. # Lua - Add `client:MaxSkills()`. # Notes - Allows operators an easy short hand for maxing a player's skills for their level without needing to do all the looping and stuff on their own. * Cleanup. * Only set if it's higher than skill level player has. * Add constant.
This commit is contained in:
@@ -87,6 +87,7 @@ namespace EQ
|
||||
#define CLIENT_LD_TIMEOUT 30000 // length of time client stays in zone after LDing
|
||||
#define TARGETING_RANGE 200 // range for /assist and /target
|
||||
#define XTARGET_HARDCAP 20
|
||||
#define MAX_SPECIALIZED_SKILL 50
|
||||
|
||||
extern Zone* zone;
|
||||
extern TaskManager *task_manager;
|
||||
@@ -783,6 +784,7 @@ public:
|
||||
uint16 MaxSkill(EQ::skills::SkillType skillid, uint16 class_, uint16 level) const;
|
||||
inline uint16 MaxSkill(EQ::skills::SkillType skillid) const { return MaxSkill(skillid, GetClass(), GetLevel()); }
|
||||
uint8 SkillTrainLevel(EQ::skills::SkillType skillid, uint16 class_);
|
||||
void MaxSkills();
|
||||
|
||||
void SendTradeskillSearchResults(const std::string &query, unsigned long objtype, unsigned long someid);
|
||||
void SendTradeskillDetails(uint32 recipe_id);
|
||||
|
||||
Reference in New Issue
Block a user