|
|
@ -165,7 +165,7 @@ if (!function_exists('processStatChanges')) {
|
|
|
|
|
|
|
|
|
|
|
|
$stat['dauer']--;
|
|
|
|
$stat['dauer']--;
|
|
|
|
if($stat['dauer'] < 1) {
|
|
|
|
if($stat['dauer'] < 1) {
|
|
|
|
if($stat['wiederherstellbar'] == 'yes') {
|
|
|
|
if($stat['wiederherstellbar'] == true) {
|
|
|
|
//echo 'resette stat '.$stat['attribut'].' um den wert '.$stat['akk_schaden'].'<br>';
|
|
|
|
//echo 'resette stat '.$stat['attribut'].' um den wert '.$stat['akk_schaden'].'<br>';
|
|
|
|
$zAttributWert -= $stat['akk_schaden'];
|
|
|
|
$zAttributWert -= $stat['akk_schaden'];
|
|
|
|
}
|
|
|
|
}
|
|
|
|