1
0

Protection Enchantments, some fixes

- Protection echantments (fire, blast, feather falling, protection and
projectile). It isn't finished, add secondary effects and optimize the
code.
- Removed some brackets.
- Silk touch fixed.
This commit is contained in:
Jaume Aloy
2014-08-21 12:08:38 +02:00
parent 5008eb8c83
commit 19d1c976e7
4 changed files with 122 additions and 15 deletions

View File

@@ -1978,7 +1978,7 @@ void cPlayer::UseEquippedItem(int a_Amount)
}
cFastRandom Random;
if (Random.NextInt(100) <= chance)
if (Random.NextInt(101) <= chance)
{
return;
}