v0.3.1b: refactored paralysis, now works properly when there are multiple paralysis sources
This commit is contained in:
@@ -76,7 +76,7 @@ public class Hunger extends Buff implements Hero.Doom {
|
||||
|
||||
if (isStarving()) {
|
||||
|
||||
if (Random.Float() < 0.3f && (target.HP > 1 || !target.paralysed)) {
|
||||
if (Random.Float() < 0.3f && (target.HP > 1 || target.paralysed == 0)) {
|
||||
|
||||
hero.damage( 1, this );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user