You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
747 B
30 lines
747 B
<?php
|
|
/*
|
|
* Created on 07.03.2009
|
|
*
|
|
* @copyright (c) 2009 animegame.eu
|
|
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
|
|
*
|
|
*/
|
|
|
|
if($x > 0) {
|
|
################### PLAYER 1
|
|
|
|
|
|
$k_starke[0] = round($k_starke[0] + ($k_ausdauer[0] / 10));
|
|
$k_speed[0] = round($k_speed[0] + ($k_ausdauer[0] / 10));
|
|
$k_ver[0] = round($k_ver[0] + ($k_ausdauer[0] / 20)-($k_ver[0]/50));
|
|
$k_ausdauer[0] = round($k_ausdauer[0] - ($k_ausdauer[0] /20));
|
|
|
|
################### PLAYER 2
|
|
|
|
|
|
$k_starke[1] = round($k_starke[1] + ($k_ausdauer[1] / 10));
|
|
$k_speed[1] = round($k_speed[1] + ($k_ausdauer[1] / 10));
|
|
$k_ver[1] = round($k_ver[1] + ($k_ausdauer[1] / 20)-($k_ver[1]/50));
|
|
$k_ausdauer[1] = round($k_ausdauer[1] - ($k_ausdauer[1] /20));
|
|
|
|
}
|
|
|
|
?>
|