mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
Add SetRadiantCrystals() and SetEbonCrystals() to Perl/Lua. (#1159)
- Add $client->SetRadiantCrystals(value) to Perl. - Add $client->SetEbonCrystals(value) to Perl. - Add client:SetRadiantCrystals(value) to Lua. - Add client:SetEbonCrystals(value) to Lua. Co-authored-by: Chris Miles <akkadius1@gmail.com>
This commit is contained in:
@@ -2025,12 +2025,10 @@ void Client::Handle_OP_AdventureMerchantPurchase(const EQApplicationPacket *app)
|
||||
else if (aps->Type == NorrathsKeepersMerchant)
|
||||
{
|
||||
SetRadiantCrystals(GetRadiantCrystals() - (int32)item->LDoNPrice);
|
||||
SendCrystalCounts();
|
||||
}
|
||||
else if (aps->Type == DarkReignMerchant)
|
||||
{
|
||||
SetEbonCrystals(GetEbonCrystals() - (int32)item->LDoNPrice);
|
||||
SendCrystalCounts();
|
||||
}
|
||||
int16 charges = 1;
|
||||
if (item->MaxCharges != 0)
|
||||
|
||||
Reference in New Issue
Block a user