示例#1
0
 public void upgradeWeapon()
 {
     if (core.checkIfEnoughMoney(wpnUpgCost))
     {
         core.upgradeWeapon(wpnUpgCost, wpnDmgUpgrade);
         wpnUpgCost = Mathf.RoundToInt(wpnUpgCostMultiplier * wpnUpgCost);
     }
 }