V0.2.0: Cloak of Shadows balance tweaking

This commit is contained in:
Evan Debenham 2014-08-27 16:34:24 -04:00
parent b54680f78b
commit 8c2f004a53

View File

@ -138,8 +138,7 @@ public class CloakOfShadows extends Artifact {
public boolean act() { public boolean act() {
if (charge < chargeCap) { if (charge < chargeCap) {
if (!stealthed) if (!stealthed)
//recharges from 0 to full in 300 turns. partialCharge += (chargeCap / (62-(level*2)));
partialCharge += (chargeCap * 0.00334);
if (partialCharge >= 1) { if (partialCharge >= 1) {
charge++; charge++;
@ -189,8 +188,8 @@ public class CloakOfShadows extends Artifact {
exp += 10 + ((Hero)target).lvl; exp += 10 + ((Hero)target).lvl;
//max level is 26 (30 charges) //max level is 21 (25 charges)
if (exp >= level*50 && level < 26) { if (exp >= level*50 && level < 21) {
exp -= level*50; exp -= level*50;
GLog.p("Your Cloak Grows Stronger!"); GLog.p("Your Cloak Grows Stronger!");
level++; level++;
@ -214,7 +213,7 @@ public class CloakOfShadows extends Artifact {
if (target.invisible > 0) if (target.invisible > 0)
target.invisible--; target.invisible--;
stealthed = false; stealthed = false;
cooldown = 18 - (level / 2); cooldown = 12 - (level / 3);
super.detach(); super.detach();
} }