Core/Players: Several currency fixes and improvements
Port From (https://github.com/TrinityCore/TrinityCore/commit/03918978c166c9fb191117a0cae9ba1285bf0e37)
This commit is contained in:
@@ -4495,7 +4495,7 @@ namespace Game.Spells
|
||||
}
|
||||
|
||||
foreach (var reagentsCurrency in m_spellInfo.ReagentsCurrency)
|
||||
p_caster.ModifyCurrency(reagentsCurrency.CurrencyTypesID, -reagentsCurrency.CurrencyCount, false, true);
|
||||
p_caster.RemoveCurrency(reagentsCurrency.CurrencyTypesID, -reagentsCurrency.CurrencyCount, CurrencyDestroyReason.Spell);
|
||||
}
|
||||
|
||||
void HandleThreatSpells()
|
||||
|
||||
Reference in New Issue
Block a user