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:
@@ -1978,7 +1978,7 @@ void cPlayer::UseEquippedItem(int a_Amount)
|
||||
}
|
||||
|
||||
cFastRandom Random;
|
||||
if (Random.NextInt(100) <= chance)
|
||||
if (Random.NextInt(101) <= chance)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user