[Quest API] Fix LDoN Methods in Perl/Lua (#3287)

# Perl
- Add `quest::removeldonloss(theme_id)`.
- Add `quest::removeldonwin(theme_id)`.

# Lua
- Fix `eq.remove_ldon_win(theme_id)` as it was using `quest_manager.addldonwin(theme_id)` instead of `quest_manager.removeldonwin(theme_id)`.
This commit is contained in:
Alex King
2023-04-10 16:16:54 -04:00
committed by GitHub
parent 445f967ed6
commit 21002c2e8a
3 changed files with 37 additions and 19 deletions
+1 -1
View File
@@ -1987,7 +1987,7 @@ void lua_remove_ldon_loss(uint32 theme_id) {
}
void lua_remove_ldon_win(uint32 theme_id) {
quest_manager.addldonwin(theme_id);
quest_manager.removeldonwin(theme_id);
}
std::string lua_get_clean_npc_name_by_id(uint32 npc_id) {