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.

47 lines
1.2 KiB

14 years ago
<?php
/*
*
* @copyright (c) 2009 animegame.eu
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
####################KAIOKEN SPIELER 1
if($technick1['type'] == 'kaioken') {
11 years ago
$k_mp[0] = $k_mp[0] - $technick1['mp'];
$k_hp[0] = $k_hp[0] - $technick1['hp'];
if($k_mp[0] < 0) {
$schaden_2 = 'Keinen Schaden';
$schaden_1 = 'kaioken fehlgeschlagen';
$aktion_AV1[$x] = 'nein';
$k_mp[0] = 0;
} else {
14 years ago
11 years ago
$schaden_1 = 'Kaioken';
$k_starke[0] = $k_starke[0] + $technick1[starke];
$k_speed[0] = $k_speed[0] + $technick1[speed];
$k_ver[0] = $k_ver[0] + $technick1[verteidigung];
$aktion_AV1[$x] = 'nein';
}
}
14 years ago
####################KAIOKEN SPIELER 2
if($technick2['type'] == kaioken) {
11 years ago
$k_mp[1] = $k_mp[1] - $technick2['mp'];
$k_hp[1] = $k_hp[1] - $technick2['hp'];
if($k_mp[1] < 0) {
$schaden_1 = 'Keinen Schaden';
$schaden_2 = 'kaioken fehlgeschlagen';
$aktion_AV2[$x] = 'nein';
$k_mp[1] = 0;
} else {
14 years ago
11 years ago
$k_starke[1] = $k_starke[1] + $technick2['starke'];
$k_speed[1] = $k_speed[1] + $technick2['speed'];
$k_ver[1] = $k_ver[1] + $technick2['verteidigung'];
$aktion_AV2[$x] = 'nein';
$schaden_2 = 'kaioken';
}
}
14 years ago
?>