mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-15 07:41:00 +00:00
Merge pull request #416 from Shadowss/patch-87
fix Field Natar village set to type=3
This commit is contained in:
@@ -19,10 +19,10 @@ $y=(WORLD_MAX-$i);
|
|||||||
$x=((WORLD_MAX*-1)+$j);
|
$x=((WORLD_MAX*-1)+$j);
|
||||||
|
|
||||||
//choose a field type
|
//choose a field type
|
||||||
if($x == 0 & $y == 0){
|
if(($x == 0 & $y == 0) || ($x == WORLD_MAX & $y == WORLD_MAX)) {
|
||||||
$typ='3';
|
$typ='3';
|
||||||
$otype='0';
|
$otype='0';
|
||||||
}else{
|
}else{
|
||||||
$rand=rand(1, 1000);
|
$rand=rand(1, 1000);
|
||||||
if("10" >= $rand){
|
if("10" >= $rand){
|
||||||
$typ='1';
|
$typ='1';
|
||||||
|
|||||||
Reference in New Issue
Block a user