v2.5.0: fixed cursed wand alarm effect having incorrect posOnly check

This commit is contained in:
Evan Debenham
2024-09-06 12:37:30 -04:00
parent a9b92035df
commit 391c6fef3a

View File

@@ -648,7 +648,7 @@ public class CursedWand {
mob.beckon( user.pos );
}
user.sprite.centerEmitter().start( Speck.factory( Speck.SCREAM ), 0.3f, 3 );
if (!positiveOnly){
if (positiveOnly){
Buff.affect(user, ScrollOfChallenge.ChallengeArena.class).setup(user.pos);
Sample.INSTANCE.play( Assets.Sounds.CHALLENGE );
} else {