v0.9.3b: deactivating cloak now only ends prep if hero is visible
This commit is contained in:
parent
5a733d72e8
commit
eb0c857ef8
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user