[Tasks] Make Task Selector Cooldown Optional (#2420)

Some live npcs ignore the request cooldown timer (tutorialb)

A separate function had to be used for perl because the apis use an
array instead of array reference which won't allow a bool overload

This also replaces the fixed array and count args with a vector
This commit is contained in:
hg authored and GitHub committed 2022-09-03 13:20:03 -04:00
1 parent 5e9a9e8afe
commit aa3c72c1de
10 files changed
+120 -112

No files matched your search

+1
View File
@@ -437,6 +437,7 @@ public:
void SetPrimaryWeaponOrnamentation(uint32 model_id);
void SetSecondaryWeaponOrnamentation(uint32 model_id);
void TaskSelector(luabind::adl::object table);
void TaskSelector(luabind::adl::object table, bool ignore_cooldown);
void SetClientMaxLevel(uint8 max_level);
uint8 GetClientMaxLevel();