v0.6.2: fixed exp progression bugs with cloak of shadows

This commit is contained in:
Evan Debenham 2017-10-19 23:55:28 -04:00
parent 23f1c33d82
commit 3fff744394

View File

@ -233,7 +233,7 @@ public class CloakOfShadows extends Artifact {
((Hero) target).interrupt(); ((Hero) target).interrupt();
} else { } else {
//target hero level is 1 + 2*cloak level //target hero level is 1 + 2*cloak level
int lvlDiffFromTarget = ((Hero) target).lvl - 1+level()*2; int lvlDiffFromTarget = ((Hero) target).lvl - (1+level()*2);
//plus an extra one for each level after 6 //plus an extra one for each level after 6
if (level() >= 7){ if (level() >= 7){
lvlDiffFromTarget -= level()-6; lvlDiffFromTarget -= level()-6;