v2.3.0: fixed cloak not losing charge if dispelled right after activate

This commit is contained in:
Evan Debenham
2024-01-04 16:28:08 -05:00
parent 0854a6fd94
commit 822cf82b6a

View File

@@ -352,6 +352,9 @@ public class CloakOfShadows extends Artifact {
}
public void dispel(){
if (turnsToCost <= 0 && charge > 0){
charge--;
}
updateQuickslot();
detach();
}