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.

40 lines
1.1 KiB

14 years ago
<?php
/*
*
* @copyright (c) 2009 animegame.eu
14 years ago
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
14 years ago
####################KAMPF HPMP SPIELER 1
if($technick1['type'] == "hpmp") {
14 years ago
//$k_hp[0] = $k_hp[0] + (($k_hp1[1] / 100) * $technick1[hp]);
$tmp_hp[0] = (($k_hp1[1] / 100) * $technick1['hp']);
$k_mp[0] = $k_mp[0] + (($k_mp1[1] / 100) * $technick1['mp']);
14 years ago
//if($k_hp1[1] < $k_hp[0]) { $k_hp[0] = $k_hp1[1]; }
14 years ago
if($k_mp1[1] < $k_mp[0]) { $k_mp[0] = $k_mp1[1]; }
$schaden_1 = "+ $technick1[hp]% HP/ $technick1[mp]% MP";
$aktion_AV1[$x] = "nein";
}
####################KAMPF HPMP SPIELER 2
if($technick2['type'] == "hpmp") {
//$k_hp[1] = $k_hp[1] + (($k_hp2[1] / 100) * $technick2[hp]);
$tmp_hp[1] = (($k_hp2[1] / 100) * $technick2['hp']);
$k_mp[1] = $k_mp[1] + (($k_mp2[1] / 100) * $technick2['mp']);
14 years ago
//if($k_hp2[1] < $k_hp[1]) { $k_hp[1] = $k_hp2[1]; }
14 years ago
if($k_mp2[1] < $k_mp[1]) { $k_mp[1] = $k_mp2[1]; }
$schaden_2 = "+ $technick2[hp]% HP/ $technick2[mp]% MP";
$aktion_AV2[$x] = "nein";
}
?>