Items/Reforge: Partially implemented reforge, still ToDo: Apply real stat modifiers to the player
This commit is contained in:
1 parent
48db4b2b7d
commit
17e852d9b3
9 files changed
+105
-6
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user