v0.2.3: unarmored rogues now gain evasion as if they were wearing cloth
This commit is contained in:
parent
23bfbfd3e7
commit
1ad866e0ef
|
@ -287,7 +287,7 @@ public class Hero extends Char {
|
|||
evasion /= 2;
|
||||
}
|
||||
|
||||
int aEnc = belongings.armor != null ? belongings.armor.STR - STR() : 0;
|
||||
int aEnc = belongings.armor != null ? belongings.armor.STR - STR() : 9 - STR();
|
||||
|
||||
if (aEnc > 0) {
|
||||
return (int)(defenseSkill * evasion / Math.pow( 1.5, aEnc ));
|
||||
|
|
Loading…
Reference in New Issue
Block a user