Core/Auras: Implemented SPELL_AURA_REMOVE_TRANSMOG_COST and SPELL_AURA_REMOVE_BARBER_SHOP_COST
Port From (https://github.com/TrinityCore/TrinityCore/commit/fea8306aa3ce362bac7be34ad30a803d1aecf49d)
This commit is contained in:
@@ -3443,6 +3443,9 @@ namespace Game.Entities
|
||||
|
||||
public long GetBarberShopCost(List<ChrCustomizationChoice> newCustomizations)
|
||||
{
|
||||
if (HasAuraType(AuraType.RemoveBarberShopCost))
|
||||
return 0;
|
||||
|
||||
GtBarberShopCostBaseRecord bsc = CliDB.BarberShopCostBaseGameTable.GetRow(GetLevel());
|
||||
if (bsc == null) // shouldn't happen
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user