V0.2.0: fixed a logic flaw with cloak of shadows recharge.
This commit is contained in:
parent
3cdc3885a0
commit
72be421d93
|
@ -138,7 +138,7 @@ public class CloakOfShadows extends Artifact {
|
||||||
public boolean act() {
|
public boolean act() {
|
||||||
if (charge < chargeCap) {
|
if (charge < chargeCap) {
|
||||||
if (!stealthed)
|
if (!stealthed)
|
||||||
partialCharge += (chargeCap / (50-(level*2)));
|
partialCharge += (1f / (50-(level*2)));
|
||||||
|
|
||||||
if (partialCharge >= 1) {
|
if (partialCharge >= 1) {
|
||||||
charge++;
|
charge++;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user