Core/Spells: Fix SPELL_AURA_MOD_CURRENCY_GAIN

This commit is contained in:
Shocker
2012-09-21 01:02:18 +03:00
parent 6446a73cc1
commit 993fb5b4a6
5 changed files with 12 additions and 8 deletions

View File

@@ -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));