v0.2.3: reworked freerunner's class ability

This commit is contained in:
Evan Debenham 2014-12-03 17:17:35 -05:00
parent 1ad866e0ef
commit 8c459a434b
2 changed files with 7 additions and 8 deletions

View File

@ -294,11 +294,6 @@ public class Hero extends Char {
} else {
if (heroClass == HeroClass.ROGUE) {
if (curAction != null && subClass == HeroSubClass.FREERUNNER && !isStarving()) {
evasion *= 2;
}
return (int)((defenseSkill - aEnc) * evasion);
} else {
return (int)(defenseSkill * evasion);
@ -354,7 +349,11 @@ public class Hero extends Char {
} else {
return ((HeroSprite)sprite).sprint( subClass == HeroSubClass.FREERUNNER && !isStarving() ) ? 1.6f * speed : speed;
return ((HeroSprite)sprite).sprint( subClass == HeroSubClass.FREERUNNER && !isStarving() ) ?
invisible > 0 ?
2.56f * speed :
1.6f * speed :
speed;
}
}

View File

@ -40,8 +40,8 @@ public enum HeroSubClass {
ASSASSIN( "assassin",
"When performing a surprise attack, the _Assassin_ inflicts additional damage to his target." ),
FREERUNNER( "freerunner",
"The _Freerunner_ can move almost twice faster, than most of the monsters. When he " +
"is running, the Freerunner is much harder to hit. For that he must be unencumbered and not starving." ),
"The _Freerunner_ moves faster when he unencumbered and not starving, " +
"if he is invisible, this speed boost is much stronger." ),
SNIPER( "sniper",
"_Snipers_ are able to detect weak points in an enemy's armor, " +