mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-29 08:38:20 +00:00
[Quest API] Add Scripting Support to Mercenaries (#4500)
* [Quest API] Add Scripting Support to Mercenaries * Cleanup * Cleanup * Update lua_merc.h * Update mob.cpp * XYZH * Final * Update attack.cpp * Update attack.cpp * Simplify event invocation * Inline example * Nullptr init example * EVENT_TIMER simplify add EventPlayerNpcBotMerc * EVENT_TIMER_START * Remove has_start_event * EVENT_TIMER_START with settimerMS * EVENT_POPUP_RESPONSE * Consolidation * Update attack.cpp * Push * Update quest_parser_collection.h * Comments * Cleanup per comments --------- Co-authored-by: Akkadius <akkadius1@gmail.com>
This commit is contained in:
@@ -3207,6 +3207,11 @@ void Perl_Client_AreaTaunt(Client* self, float range, int bonus_hate)
|
||||
entity_list.AETaunt(self, range, bonus_hate);
|
||||
}
|
||||
|
||||
Merc* Perl_Client_GetMerc(Client* self)
|
||||
{
|
||||
return self->GetMerc();
|
||||
}
|
||||
|
||||
void perl_register_client()
|
||||
{
|
||||
perl::interpreter perl(PERL_GET_THX);
|
||||
@@ -3438,6 +3443,7 @@ void perl_register_client()
|
||||
package.add("GetLearnedDisciplines", &Perl_Client_GetLearnedDisciplines);
|
||||
package.add("GetLockoutExpeditionUUID", &Perl_Client_GetLockoutExpeditionUUID);
|
||||
package.add("GetMaxEndurance", &Perl_Client_GetMaxEndurance);
|
||||
package.add("GetMerc", &Perl_Client_GetMerc);
|
||||
package.add("GetMemmedSpells", &Perl_Client_GetMemmedSpells);
|
||||
package.add("GetModCharacterFactionLevel", &Perl_Client_GetModCharacterFactionLevel);
|
||||
package.add("GetMoney", &Perl_Client_GetMoney);
|
||||
|
||||
Reference in New Issue
Block a user