v0.9.3b: deactivating cloak now only ends prep if hero is visible
This commit is contained in:
+1
-1
@@ -98,7 +98,7 @@ public class CloakOfShadows extends Artifact {
|
|||||||
} else {
|
} else {
|
||||||
activeBuff.detach();
|
activeBuff.detach();
|
||||||
activeBuff = null;
|
activeBuff = null;
|
||||||
if (hero.buff(Preparation.class) != null){
|
if (hero.invisible <= 0 && hero.buff(Preparation.class) != null){
|
||||||
hero.buff(Preparation.class).detach();
|
hero.buff(Preparation.class).detach();
|
||||||
}
|
}
|
||||||
hero.sprite.operate( hero.pos );
|
hero.sprite.operate( hero.pos );
|
||||||
|
|||||||
Reference in New Issue
Block a user