Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

If the town defense is not adequate (or somebody forgot to lock the door) some zombies may enter the town at midnight.

How does it calculates how many people will be killed by the zombies? And who is killed first, the people with the lowest defense value?

share|improve this question
add comment

1 Answer

up vote 9 down vote accepted
  1. The zombies that make it through the defense are randomly distributed to each citizen.
  2. If the citizen's house defense value is lower than the zombies assigned to him, he dies.
  3. The order of the attacks is random.
share|improve this answer
2  
I'd like to add that it can also happen that way more zombies attack someone than is needed to kill them. The algorithm doesn't seem to say "Oh, there's already enough zombies assigned to this guy to kill him, let's stop remove him from the pool of random people zombies can attack." As such, even if enough zombies get in to kill everyone in town, there still might be some survivors due to the random nature of assigning attacks. –  Sterno Dec 7 '10 at 18:18
    
It sounds like the way this is resolved is different now, but I haven't found details of the exact mechanism. –  bwarner Aug 11 '11 at 1:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.