forked from MagicBane/Server
10% cost for magical random rolls removed
This commit is contained in:
@@ -936,7 +936,7 @@ public class ItemFactory {
|
|||||||
|
|
||||||
//calculate gold costs and remove from the warehouse
|
//calculate gold costs and remove from the warehouse
|
||||||
if (prefix != null || suffix != null) {
|
if (prefix != null || suffix != null) {
|
||||||
int costToCreate = (int) (ib.getBaseValue() + ib.getBaseValue() * .10f);
|
int costToCreate = ib.getBaseValue();
|
||||||
int buildingWithdraw = BuildingManager.GetWithdrawAmountForRolling(forge, costToCreate);
|
int buildingWithdraw = BuildingManager.GetWithdrawAmountForRolling(forge, costToCreate);
|
||||||
int overdraft = BuildingManager.GetOverdraft(forge, costToCreate);
|
int overdraft = BuildingManager.GetOverdraft(forge, costToCreate);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user