v0.6.2: fixed corruption overriding positive buffs and soul mark
This commit is contained in:
+4
-1
@@ -208,7 +208,10 @@ public class WandOfCorruption extends Wand {
|
||||
!enemy.immunities().contains(Corruption.class)){
|
||||
enemy.HP = enemy.HT;
|
||||
for (Buff buff : enemy.buffs()) {
|
||||
buff.detach();
|
||||
if (buff.type == Buff.buffType.NEGATIVE
|
||||
&& !(buff instanceof SoulMark)) {
|
||||
buff.detach();
|
||||
}
|
||||
}
|
||||
Buff.affect(enemy, Corruption.class);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user