Is There Any Change In Ruin Guards?

Discuss anything related to warbarons.

Is There Any Change In Ruin Guards?

Postby tabanli » Sat Mar 08, 2014 10:45 pm

My Ranger's keep facing too many 3 Mummies at L2 ruin and getting slain. It wasn't happening before so I am wondering if there are any changes.
tabanli
 
Posts: 283
Joined: Thu Jan 31, 2013 4:47 am

Re: Is There Any Change In Ruin Guards?

Postby KGB » Sat Mar 08, 2014 11:39 pm

You can face up to 3 Mummies. You seeing more than that?

KGB
KGB
 
Posts: 3030
Joined: Tue Feb 16, 2010 12:06 am

Re: Is There Any Change In Ruin Guards?

Postby tabanli » Sun Mar 09, 2014 3:01 am

I am seeing 3 mummies but that was supposed to be 4% chance. However I am seeing a lot of 3 mummy guarded ruins especially when the ruins are respawn. I am just wondering if there is a glitch on the code, or just some weird luck streak.
tabanli
 
Posts: 283
Joined: Thu Jan 31, 2013 4:47 am

Re: Is There Any Change In Ruin Guards?

Postby SnotlinG » Sun Mar 09, 2014 9:54 am

Here is the code for the respawn:

Code: Select all
      // Undead guardian level 2 ruins, incl Shipwrecks
      $undeadarray[0] = array();
      $undeadarray[0]['numbers'] = array(6,6,7,7,8);
      $undeadarray[0]['armytypeID'] = 100;
      $undeadarray[0]['type'] = 'Skeleton';

      $undeadarray[1] = array();
      $undeadarray[1]['numbers'] = array(3,4,4,5);
      $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';      

      shuffle($undeadarray);
      $undeadarmytypeID = $undeadarray[0]['armytypeID'];
      shuffle($undeadarray[0]['numbers']);
      $numberofundead = $undeadarray[0]['numbers'][0];


So 33% chance of Mummy.
Then 1/8 chance of 3 mummies:
0.33 * 0.125 =0.041666, so looks like ~4.2% chance.
SnotlinG
 
Posts: 2148
Joined: Sat Feb 13, 2010 12:42 am


Return to Game discussion

Who is online

Users browsing this forum: No registered users and 7 guests

cron
Not able to open ./cache/data_global.php