mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-12 23:56:08 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user