mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-17 15:47:16 +00:00
pull request by Shadowss
This commit is contained in:
@@ -1,9 +1,16 @@
|
|||||||
<?php
|
<?php
|
||||||
# Developed By : Mr.php
|
|
||||||
# you have no rights to change this !!
|
#################################################################################
|
||||||
# Fixed : Doubling Troops , Hero not dieing etc ..
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
# Email : mr.php-majed@hotmail.com
|
## --------------------------------------------------------------------------- ##
|
||||||
# Skype : mr.majed1005
|
## Project: TravianZ ##
|
||||||
|
## Version: 01.09.2013 ##
|
||||||
|
## Filename Automation.php ##
|
||||||
|
## Developed by: Mr.php , Advocaite , brainiacX , yi12345 , Shadow ##
|
||||||
|
## License: TravianZ Project ##
|
||||||
|
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
|
||||||
|
## Source code: https://github.com/yi12345/TravianZ/ ##
|
||||||
|
#################################################################################
|
||||||
|
|
||||||
class Automation {
|
class Automation {
|
||||||
|
|
||||||
@@ -3640,10 +3647,6 @@ $wallimg = "<img src=\"".GP_LOCATE."img/g/g3".$targettribe."Icon.gif\" height=\"
|
|||||||
if($this->bountyocounter[3] != 0) {
|
if($this->bountyocounter[3] != 0) {
|
||||||
$crop += $crop*0.25*$this->bountyocounter[3];
|
$crop += $crop*0.25*$this->bountyocounter[3];
|
||||||
}
|
}
|
||||||
$who=$database->getVillageField($bountyresarray['vref'],"owner");
|
|
||||||
$croptrue=$database->getUserField($who,"b4",0);
|
|
||||||
if($croptrue > time()) {
|
|
||||||
$crop*=1.25;
|
|
||||||
if(!empty($bountyresarray['vref']) && is_numeric($bountyresarray['vref'])){
|
if(!empty($bountyresarray['vref']) && is_numeric($bountyresarray['vref'])){
|
||||||
$who=$database->getVillageField($bountyresarray['vref'],"owner");
|
$who=$database->getVillageField($bountyresarray['vref'],"owner");
|
||||||
$croptrue=$database->getUserField($who,"b4",0);
|
$croptrue=$database->getUserField($who,"b4",0);
|
||||||
|
|||||||
Reference in New Issue
Block a user