mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
fix starvation , now work like real travian , forget something important
This commit is contained in:
@@ -3644,6 +3644,12 @@ $wallimg = "<img src=\"".GP_LOCATE."img/g/g3".$targettribe."Icon.gif\" height=\"
|
||||
$croptrue=$database->getUserField($who,"b4",0);
|
||||
if($croptrue > time()) {
|
||||
$crop*=1.25;
|
||||
if(!empty($bountyresarray['vref']) && is_numeric($bountyresarray['vref'])){
|
||||
$who=$database->getVillageField($bountyresarray['vref'],"owner");
|
||||
$croptrue=$database->getUserField($who,"b4",0);
|
||||
if($croptrue > time()) {
|
||||
$crop*=1.25;
|
||||
}
|
||||
}
|
||||
$crop *= SPEED;
|
||||
return round($crop);
|
||||
|
||||
Reference in New Issue
Block a user