Update Battle.php

This commit is contained in:
Shadow
2014-04-02 10:48:06 +03:00
parent cae32d6603
commit 2926e6b585
-1
View File
@@ -441,7 +441,6 @@ class Battle {
$dp = 10 * pow($factor,$def_wall) * $def_wall;
// Defense calvary calvary = * Wall (%)
$cdp = 10 * pow($factor,$def_wall) * $def_wall;
echo $dp;
if($type!=1) {
// Calculation of the Basic defense bonus "Residence"
$dp += ((2*(pow($residence,2)))*(pow($factor,$def_wall)));