mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-15 17:16:08 +00:00
Update Battle.php
This commit is contained in:
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user