mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Quest API] Add SetLDoNPoints() to Perl/Lua (#3496)
# Perl - Add `$client->SetLDoNPoints(theme_id, points)`. # Lua - Add `client:SetLDoNPoints(theme_id, points)`. # Notes - Allows operators to directly set LDoN Points.
This commit is contained in:
+7
-1
@@ -1558,7 +1558,13 @@ void Client::SetLDoNPoints(uint32 theme_id, uint32 points)
|
||||
}
|
||||
}
|
||||
|
||||
m_pp.ldon_points_available += points;
|
||||
m_pp.ldon_points_available = (
|
||||
m_pp.ldon_points_guk +
|
||||
m_pp.ldon_points_mir +
|
||||
m_pp.ldon_points_mmc +
|
||||
m_pp.ldon_points_ruj +
|
||||
m_pp.ldon_points_tak
|
||||
);
|
||||
|
||||
auto outapp = new EQApplicationPacket(OP_AdventurePointsUpdate, sizeof(AdventurePoints_Update_Struct));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user