fix rat from questmaster, more fix for icon for reports, fix hero in type 3 of report, fix reinforcement from questmaster in rallypoint and now when hero lose 90% health or more in one battle he die

This commit is contained in:
unknown
2012-04-21 02:40:57 +03:00
parent 3a24e1d6e0
commit 47919ed84b
8 changed files with 113 additions and 22 deletions
+1 -1
View File
@@ -508,7 +508,7 @@ class Battle {
$hero_health=$fdb['health'];
$damage_health=round(100*$result[1]);
//exit($damage_health."|".$hero_health."|".$atkhero['heroid']);
if ($hero_health<=$damage_health)
if ($hero_health<=$damage_health or $damage_health>90)
{
//hero die
$result['casualties_attacker']['11'] = 1;