Update Automation.php

This commit is contained in:
Shadow
2013-11-28 07:42:07 +02:00
parent 3d3c29ff8e
commit 338e3852f9
+8 -1
View File
@@ -2479,7 +2479,14 @@ class Automation {
}
}
}
}else $info_hero = $hero_pic.",Your hero die but gained ".$heroxp." XP";
}else {
if ($heroxp == 0) {
$xp=" and no XP from the battle";
} else {
$xp=" but gained ".$heroxp." XP from the battle";
}
$info_hero = $hero_pic.",Your hero die ".$xp;
}
if($scout){
if ($data['spy'] == 1){