@@ 47-58 (lines=12) @@ | ||
44 | /** |
|
45 | * @return float |
|
46 | */ |
|
47 | private function wageOnSkill() |
|
48 | { |
|
49 | if ($this->skillAvg > 98) return 5.0; |
|
50 | if ($this->skillAvg > 90) return 3.5; |
|
51 | if ($this->skillAvg > 80) return 2.0; |
|
52 | if ($this->skillAvg > 76) return 1.5; |
|
53 | if ($this->skillAvg > 70) return 1.0; |
|
54 | if ($this->skillAvg > 60) return .76; |
|
55 | if ($this->skillAvg > 50) return .20; |
|
56 | return 0.5; |
|
57 | ||
58 | } |
|
59 | } |
@@ 81-92 (lines=12) @@ | ||
78 | /** |
|
79 | * @return float |
|
80 | */ |
|
81 | private function priceOnSkill() |
|
82 | { |
|
83 | if ($this->skillAvg > 98) return 130.0; |
|
84 | if ($this->skillAvg > 90) return 80.0; |
|
85 | if ($this->skillAvg > 80) return 50.0; |
|
86 | if ($this->skillAvg > 76) return 20.0; |
|
87 | if ($this->skillAvg > 70) return 10.0; |
|
88 | if ($this->skillAvg > 60) return 5.0; |
|
89 | if ($this->skillAvg > 50) return 2.0; |
|
90 | return 0.5; |
|
91 | ||
92 | } |
|
93 | ||
94 | /** |
|
95 | * @return float |