diff --git a/src/Studio/Resource/Material.php b/src/Studio/Resource/Material.php index 1b8e129..b15904f 100644 --- a/src/Studio/Resource/Material.php +++ b/src/Studio/Resource/Material.php @@ -40,6 +40,11 @@ class Material extends JsonResource 'k' => $this->pivot->k, 'a' => $this->pivot->a, ], + // 硬度上下限 + 'hardnessRange' => [ + 'min' => $this->pivot->min_hardness, + 'max' => $this->pivot->max_hardness, + ], ]; } } \ No newline at end of file