v0.9.3: fixed preparation persisting when cloak is deactivated
This commit is contained in:
+3
@@ -98,6 +98,9 @@ public class CloakOfShadows extends Artifact {
|
|||||||
} else {
|
} else {
|
||||||
activeBuff.detach();
|
activeBuff.detach();
|
||||||
activeBuff = null;
|
activeBuff = null;
|
||||||
|
if (hero.buff(Preparation.class) != null){
|
||||||
|
hero.buff(Preparation.class).detach();
|
||||||
|
}
|
||||||
hero.sprite.operate( hero.pos );
|
hero.sprite.operate( hero.pos );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user