Items/Reforge: Partially implemented reforge, still ToDo: Apply real stat modifiers to the player

This commit is contained in:
Subv committed 2012-08-03 20:48:47 -05:00
1 parent 48db4b2b7d
commit 17e852d9b3
9 files changed
+105 -6

No files matched your search

+3 -3
View File
@@ -1424,7 +1424,7 @@ uint32 Item::GetSellPrice(bool& normalSellPrice) const
}
}
uint32 Item::GetTransmogrifyCost() const
uint32 Item::GetSpecialPrice(uint32 minimumPrice) const
{
ItemTemplate const* proto = GetTemplate();
uint32 cost = 0;
@@ -1453,8 +1453,8 @@ uint32 Item::GetTransmogrifyCost() const
cost = proto->SellPrice;
}
if (cost < 10000)
cost = 10000;
if (cost < minimumPrice)
cost = minimumPrice;
return cost;
}