[Quest API] Export $hate_entity to EVENT_HATE_LIST in Perl (#2885)

# Notes
- Exports `$hate_entity` to `EVENT_HATE_LIST`.
- Allows operators to see which mob is joining/leaving an NPC's hatelist.
This commit is contained in:
Alex King authored and GitHub committed 2023-02-12 22:44:31 -06:00
1 parent 2c75e8fcd4
commit 7099e17c7e
2 files changed
+36 -23

No files matched your search

+1
View File
@@ -1743,6 +1743,7 @@ void PerlembParser::ExportEventVariables(
case EVENT_HATE_LIST: {
ExportVar(package_name.c_str(), "hate_state", data);
ExportVar(package_name.c_str(), "hate_entity", "Mob", mob);
break;
}