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.

51 lines
1.1 KiB

14 years ago
<?php
/*
*
* @copyright (c) 2009 animegame.eu
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
if($technick1['type'] == 'runde') {
14 years ago
$k_mp[0] = $k_mp[0] - $technick1['mp'];
14 years ago
if($k_mp[0] < 0) {
14 years ago
$schaden_1 = $technick1['name'] . ' fehlgeschlagen';
$aktion_AV1[$x] = 'nein';
14 years ago
$k_mp[0] = 0;
} else {
if($runden_type1 < $technick1['hp']-1) { /////////HP wert sagt an wieviel runden die technik dauert
$schaden_1 = 'Energie Sammeln';
14 years ago
$play1_ausweich = 0;
$aktion_AV1[$x] = 'nein';
14 years ago
$runden_type1++;
} else {
$aktion_AV1[$x] = '';
14 years ago
$runden_type1=0;
}
}
}
if($technick2['type'] == 'runde') {
$k_mp[1] = $k_mp[1] - $technick2['mp'];
14 years ago
if($k_mp[1] < 0) {
14 years ago
$schaden_2 = $technick2['name'] . ' fehlgeschlagen';
$aktion_AV2[$x] = 'nein';
14 years ago
$k_mp[1] = 0;
} else {
if($runden_type2 < $technick2['hp']-1) { /////////HP wert sagt an wieviel runden die technik dauert
$schaden_2 = 'Energie Sammeln';
14 years ago
$play2_ausweich = 0;
$aktion_AV2[$x] = 'nein';
14 years ago
$runden_type2++;
} else {
$aktion_AV2[$x] = '';
14 years ago
$runden_type2=0;
}
}
}
?>