v0.2.2: corrected sleep immunity interaction with magical sleep/drowsy
This commit is contained in:
@@ -30,7 +30,7 @@ public class MagicalSleep extends Buff {
|
||||
|
||||
@Override
|
||||
public boolean attachTo( Char target ) {
|
||||
if (super.attachTo( target )) {
|
||||
if (super.attachTo( target ) && !target.immunities().contains(Sleep.class)) {
|
||||
|
||||
if (target instanceof Hero)
|
||||
if (target.HP == target.HT) {
|
||||
|
||||
Reference in New Issue
Block a user