Maescool/Catacomb-Snatch — pull request #465 by AngelDE98 (2012-02-26 14:21:20+00:00)
Title: Mob Health Regeneration - The Second

I just " rewrote " the health regeneration system ( Issue #225 ) . For some pleasure even added Difficulty IDs ( so you can get the difficulty ID from TitleMenu.difficulty.difficultyID ) . 0 is easy , 3 is Nightmare .
I added the following :
- If the difficulty is easy , do not regenerate health at all .
- If the difficulty is normal or hard , regenerate health with interval of 25 ticks , 1 health each .
- If the difficulty is nightmare , regenerate with interval of 15 ticks , 1 health each .

It works fine with the Creative Mode .
Only problem is that it manipulates health regeneration of the spawner . Either disable the mob regeneration code if it's an building , or do the new method with the buildings . Because of that I want you to tell me what's better ( I got critism about disabling regeneration in nightmare , but that was the old version ) . As for now I will recommit it with the mob regeneration turned off for buildings and fetched ( I got ninjad while writing that ) . It is changeable in Building(....) { .