mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-02 18:44:21 +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);
|
||||
|
||||
//choose a field type
|
||||
if($x == 0 & $y == 0){
|
||||
$typ='3';
|
||||
$otype='0';
|
||||
}else{
|
||||
$rand=rand(1, 1000);
|
||||
if("10" >= $rand){
|
||||
$typ='1';
|
||||
@@ -93,7 +97,7 @@ $y=(WORLD_MAX-$i);
|
||||
$typ='0';
|
||||
$otype='12';
|
||||
}
|
||||
|
||||
}
|
||||
//image pick
|
||||
if($otype=='0'){
|
||||
$image="t".rand(0,9)."";
|
||||
|
||||
Reference in New Issue
Block a user