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.

52 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-LOSE SPIELER 1
if($technick1['type'] == 'lose2') {
$k_mp[0] = $k_mp[0] - $technick1['mp'];
if($k_mp[0] < 0) {
$schaden_1 = 'Schw&auml;chen fehlgeschlagen';
$k_mp[0] = 0;
} else {
if($technick1['starke'] >= mt_rand(1,100)) {
$schaden_1 = 'Schw&auml;chen';
$k_mp[1] -= $k_mp2[1] * ($technick1['speed'] / 100);
if($k_mp[1] < 0) {
$k_mp[1] = 0;
}
} else {
$schaden_1 = 'Schw&auml;chen fehlgeschlagen';
}
}
$aktion_AV1[$x] = 'nein';
14 years ago
}
####################KAIOKEN-LOSE SPIELER 2
if($technick2['type'] == 'lose2') {
$k_mp[1] = $k_mp[1] - $technick2['mp'];
if($k_mp[1] < 0) {
$schaden_2 = 'Schw&auml;chen fehlgeschlagen';
$k_mp[1] = 0;
} else {
14 years ago
if($technick2['starke'] >= mt_rand(1,100)) {
$schaden_2 = 'Schw&auml;chen';
$k_mp[0] -= $k_mp1[1] * ($technick2['speed'] / 100);
if($k_mp[0] < 0) {
$k_mp[0] = 0;
}
} else {
$schaden_2 = 'Schw&auml;chen fehlgeschlagen';
14 years ago
}
}
$aktion_AV2[$x] = 'nein';
14 years ago
}
?>