Added following change due to that you in the mapeditor can set "random allies" on a level 1 ruin.
Lvl 1 ruin:
item: 55%
Gold: 30%
Sage 10%
Allies 5%
- Code: Select all
$allyarray[0] = array();
$allyarray[0]['numbers'] = array(1);
$allyarray[0]['armytypeID'] = 12;
$allyarray[0]['type'] = 'HeavyCavalry';
$allyarray[1] = array();
$allyarray[1]['numbers'] = array(1);
$allyarray[1]['armytypeID'] = 15;
$allyarray[1]['type'] = 'Giant';
$allyarray[2] = array();
$allyarray[2]['numbers'] = array(1);
$allyarray[2]['armytypeID'] = 18;
$allyarray[2]['type'] = 'Crusader';