by SnotlinG » Tue May 14, 2013 1:28 pm
Ruins updated now with new range of allies etc...
Ill post the code here and you should be able to translate it into the wiki
Level 1 ruin
// 0% --> Ally
// Undead guardian
$undeadarray[0] = array();
$undeadarray[0]['numbers'] = array(1,1,2,2,2,3,3,4);
$undeadarray[0]['armytypeID'] = 100;
$undeadarray[0]['type'] = 'Skeleton';
$undeadarray[1] = array();
$undeadarray[1]['numbers'] = array(1,1,2,2,2,3,3,4);
$undeadarray[1]['armytypeID'] = 100;
$undeadarray[1]['type'] = 'Skeleton';
$undeadarray[2] = array();
$undeadarray[2]['numbers'] = array(1,1,1,2);
$undeadarray[2]['armytypeID'] = 101;
$undeadarray[2]['type'] = 'Ghoul';
Level 2 ruin
25% ally
$allyarray[0] = array();
$allyarray[0]['numbers'] = array(1,2);
$allyarray[0]['armytypeID'] = 21;
$allyarray[0]['type'] = 'Ghost';
$allyarray[1] = array();
$allyarray[1]['numbers'] = array(1,2,2);
$allyarray[1]['armytypeID'] = 22;
$allyarray[1]['type'] = 'Wizard';
$allyarray[2] = array();
$allyarray[2]['numbers'] = array(1,1,2);
$allyarray[2]['armytypeID'] = 20;
$allyarray[2]['type'] = 'Medusa';
$allyarray[3] = array();
$allyarray[3]['numbers'] = array(1);
$allyarray[3]['armytypeID'] = 23;
$allyarray[3]['type'] = 'Unicorn';
$allyarray[4] = array();
$allyarray[4]['numbers'] = array(1,2);
$allyarray[4]['armytypeID'] = 24;
$allyarray[4]['type'] = 'Elemental';
$allyarray[5] = array();
$allyarray[5]['numbers'] = array(1,1,2);
$allyarray[5]['armytypeID'] = 25;
$allyarray[5]['type'] = 'Demon';
$allyarray[6] = array();
$allyarray[6]['numbers'] = array(1,1,2);
$allyarray[6]['armytypeID'] = 27;
$allyarray[6]['type'] = 'Archon';
// Undead guardian
$undeadarray[0] = array();
$undeadarray[0]['numbers'] = array(4,5,5);
$undeadarray[0]['armytypeID'] = 100;
$undeadarray[0]['type'] = 'Skeleton';
$undeadarray[1] = array();
$undeadarray[1]['numbers'] = array(2,3,3,4,4,4);
$undeadarray[1]['armytypeID'] = 101;
$undeadarray[1]['type'] = 'Ghoul';
$undeadarray[2] = array();
$undeadarray[2]['numbers'] = array(1,1,1,1,2,2,2,3);
$undeadarray[2]['armytypeID'] = 102;
$undeadarray[2]['type'] = 'Mummy';
Level 3 ruin
30% ally
$allyarray[0] = array();
$allyarray[0]['numbers'] = array(3,4);
$allyarray[0]['armytypeID'] = 21;
$allyarray[0]['type'] = 'Ghost';
$allyarray[1] = array();
$allyarray[1]['numbers'] = array(2,3,3);
$allyarray[1]['armytypeID'] = 20;
$allyarray[1]['type'] = 'Medusa';
$allyarray[2] = array();
$allyarray[2]['numbers'] = array(2,3);
$allyarray[2]['armytypeID'] = 25;
$allyarray[2]['type'] = 'Demon';
$allyarray[3] = array();
$allyarray[3]['numbers'] = array(1,2,3);
$allyarray[3]['armytypeID'] = 26;
$allyarray[3]['type'] = 'Devil';
$allyarray[4] = array();
$allyarray[4]['numbers'] = array(1,1,2);
$allyarray[4]['armytypeID'] = 28;
$allyarray[4]['type'] = 'RedDragon';
$allyarray[5] = array();
$allyarray[5]['numbers'] = array(1,2,2,3);
$allyarray[5]['armytypeID'] = 37;
$allyarray[5]['type'] = 'GreenDragon';
$allyarray[6] = array();
$allyarray[6]['numbers'] = array(1,1,2);
$allyarray[6]['armytypeID'] = 38;
$allyarray[6]['type'] = 'GrandArchon';
// Undead guardian
$undeadarray[0] = array();
$undeadarray[0]['numbers'] = array(7,8);
$undeadarray[0]['armytypeID'] = 100;
$undeadarray[0]['type'] = 'Skeleton';
$undeadarray[1] = array();
$undeadarray[1]['numbers'] = array(4,5,5,5,6);
$undeadarray[1]['armytypeID'] = 101;
$undeadarray[1]['type'] = 'Ghoul';
$undeadarray[2] = array();
$undeadarray[2]['numbers'] = array(3,3,4,4,5);
$undeadarray[2]['armytypeID'] = 102;
$undeadarray[2]['type'] = 'Mummy';
$undeadarray[2] = array();
$undeadarray[2]['numbers'] = array(2,3,3,3,4);
$undeadarray[2]['armytypeID'] = 103;
$undeadarray[2]['type'] = 'Vampire';
shipwreck ruin works as level 2 ruin but with modified possible ally:
$allyarray[0] = array();
$allyarray[0]['numbers'] = array(1,2);
$allyarray[0]['armytypeID'] = 21;
$allyarray[0]['type'] = 'Ghost';
$allyarray[1] = array();
$allyarray[1]['numbers'] = array(1,1,2);
$allyarray[1]['armytypeID'] = 29;
$allyarray[1]['type'] = 'Kraken';
$allyarray[2] = array();
$allyarray[2]['numbers'] = array(2,3,3,4);
$allyarray[2]['armytypeID'] = 32;
$allyarray[2]['type'] = 'SeaSerpent';
$allyarray[3] = array();
$allyarray[3]['numbers'] = array(1,1,2);
$allyarray[3]['armytypeID'] = 25;
$allyarray[3]['type'] = 'Demon';
$allyarray[4] = array();
$allyarray[4]['numbers'] = array(1,1,2);
$allyarray[4]['armytypeID'] = 27;
$allyarray[4]['type'] = 'Archon';