mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
Core/Spells: Fix SPELL_AURA_MOD_CURRENCY_GAIN
This commit is contained in:
@@ -1121,7 +1121,7 @@ public:
|
||||
|
||||
int32 amount = (uint32)atoi(args);
|
||||
|
||||
target->ModifyCurrency(CURRENCY_TYPE_HONOR_POINTS, amount);
|
||||
target->ModifyCurrency(CURRENCY_TYPE_HONOR_POINTS, amount, true, true);
|
||||
|
||||
handler->PSendSysMessage(LANG_COMMAND_MODIFY_HONOR, handler->GetNameLink(target).c_str(), target->GetCurrency(CURRENCY_TYPE_HONOR_POINTS));
|
||||
|
||||
@@ -1311,7 +1311,7 @@ public:
|
||||
|
||||
int32 amount = (uint32)atoi(args);
|
||||
|
||||
target->ModifyCurrency(CURRENCY_TYPE_CONQUEST_POINTS, amount);
|
||||
target->ModifyCurrency(CURRENCY_TYPE_CONQUEST_POINTS, amount, true, true);
|
||||
|
||||
handler->PSendSysMessage(LANG_COMMAND_MODIFY_ARENA, handler->GetNameLink(target).c_str(), target->GetCurrency(CURRENCY_TYPE_CONQUEST_POINTS));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user