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
51 lines
1.1 KiB
![]()
13 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") {
|
||
|
|
||
|
$k_mp[0] = $k_mp[0] - $technick1[mp];
|
||
|
|
||
|
if($k_mp[0] < 0) {
|
||
|
$schaden_1 = "$technick1[name] fehlgeschlagen";
|
||
|
$aktion_AV1[$x] = "nein";
|
||
|
$k_mp[0] = 0;
|
||
|
} else {
|
||
|
|
||
|
if($runden_type1 < $technick1[hp]-1) { /////////HP wert sagt an wieviel runden die technik dauert
|
||
|
$schaden_1 = "Energie Sammeln";
|
||
|
$play1_ausweich = 0;
|
||
|
$aktion_AV1[$x] = "nein";
|
||
|
$runden_type1++;
|
||
|
} else {
|
||
|
$aktion_AV1[$x] = "";
|
||
|
$runden_type1=0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
if($technick2[type] == "runde") {
|
||
|
$k_mp[1] = $k_mp[1] - $technick2[mp];
|
||
|
if($k_mp[1] < 0) {
|
||
|
$schaden_2 = "$technick2[name] fehlgeschlagen";
|
||
|
$aktion_AV2[$x] = "nein";
|
||
|
$k_mp[1] = 0;
|
||
|
} else {
|
||
|
|
||
|
if($runden_type2 < $technick2[hp]-1) { /////////HP wert sagt an wieviel runden die technik dauert
|
||
|
$schaden_2 = "Energie Sammeln";
|
||
|
$play2_ausweich = 0;
|
||
|
$aktion_AV2[$x] = "nein";
|
||
|
$runden_type2++;
|
||
|
} else {
|
||
|
$aktion_AV2[$x] = "";
|
||
|
$runden_type2=0;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
?>
|