mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-29 22:57:16 +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);
|
$croptrue=$database->getUserField($who,"b4",0);
|
||||||
if($croptrue > time()) {
|
if($croptrue > time()) {
|
||||||
$crop*=1.25;
|
$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;
|
$crop *= SPEED;
|
||||||
return round($crop);
|
return round($crop);
|
||||||
|
|||||||
Reference in New Issue
Block a user