mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-20 10:11:00 +00:00
fix for multihunter village in install: now he always will be village of 4-4-4-6
This commit is contained in:
@@ -19,6 +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){
|
||||||
|
$typ='3';
|
||||||
|
$otype='0';
|
||||||
|
}else{
|
||||||
$rand=rand(1, 1000);
|
$rand=rand(1, 1000);
|
||||||
if("10" >= $rand){
|
if("10" >= $rand){
|
||||||
$typ='1';
|
$typ='1';
|
||||||
@@ -93,7 +97,7 @@ $y=(WORLD_MAX-$i);
|
|||||||
$typ='0';
|
$typ='0';
|
||||||
$otype='12';
|
$otype='12';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
//image pick
|
//image pick
|
||||||
if($otype=='0'){
|
if($otype=='0'){
|
||||||
$image="t".rand(0,9)."";
|
$image="t".rand(0,9)."";
|
||||||
|
|||||||
Reference in New Issue
Block a user