[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
2023-02-12 23:44:31 -05:00
committed by GitHub
parent 2c75e8fcd4
commit 7099e17c7e
2 changed files with 36 additions and 23 deletions
+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;
}