|
@@ 86-88 (lines=3) @@
|
| 83 |
|
} |
| 84 |
|
|
| 85 |
|
asort($this->values); |
| 86 |
|
if (isset($matches['highdice']) && $matches['highdice'] != '') { |
| 87 |
|
$this->values = array_slice($this->values, -intval($matches['highdice']), null, true); |
| 88 |
|
} |
| 89 |
|
if (isset($matches['lowdice']) && $matches['lowdice'] != '') { |
| 90 |
|
$this->values = array_slice($this->values, 0, intval($matches['lowdice']), true); |
| 91 |
|
} |
|
@@ 89-91 (lines=3) @@
|
| 86 |
|
if (isset($matches['highdice']) && $matches['highdice'] != '') { |
| 87 |
|
$this->values = array_slice($this->values, -intval($matches['highdice']), null, true); |
| 88 |
|
} |
| 89 |
|
if (isset($matches['lowdice']) && $matches['lowdice'] != '') { |
| 90 |
|
$this->values = array_slice($this->values, 0, intval($matches['lowdice']), true); |
| 91 |
|
} |
| 92 |
|
} |
| 93 |
|
|
| 94 |
|
public function rolltype($dietype) |