Board Thread:Plants vs. Zombies 2/@comment-25546049-20150703183553/@comment-25089892-20150729000024

1Zulu wrote:

Uselessguy wrote:

1Zulu wrote: I finally started reverse engineering the RTON format today. Made pretty good progress.

Also found out some interesting hitpoint data:

I think these are their health. Yes, that is their health.
 * Wall-nut: 4000
 * Tall-nut: 8000
 * Infi-nut: 2000
 * Pea-nut: 4000
 * Chard Guard: 1500
 * Endurian: 3000
 * Most other plants: 300
 * Puff-shroom: 150

Plants health is defined as these by numbers, while zombies have their damage defined as "EatDPS." Almost all of them have 100 DPS, with the exception of a few special zombies (Gargs have 0 DPS, Pianist Zombie and Barrel Roller have 4000 DPS)

This is a much more straightforward way of accounting for damage. Basically a Wall-nut will last 40 seconds with a single zombie eating it; two zombies will double the DPS and halve that time to 20 seconds, and so on. Doesn't that mean we also can know how much health the plants have? Wall-nut absorbs 40 bites, Tall-nut 80, Infi-nut 20 and so on.