v2.3.0: buffed the rogue's foresight talent
This commit is contained in:
@@ -762,7 +762,7 @@ actors.hero.talent.wide_search.meta_desc=_If this talent is gained by a differen
|
||||
actors.hero.talent.silent_steps.title=silent steps
|
||||
actors.hero.talent.silent_steps.desc=_+1:_ The Rogue will not wake sleeping enemies while he is _3 or more tiles away from them_.\n\n_+2:_ The Rogue will not wake sleeping enemies while he is _not adjacent to them_.
|
||||
actors.hero.talent.rogues_foresight.title=rogue's foresight
|
||||
actors.hero.talent.rogues_foresight.desc=_+1:_ When the Rogue is on a level with a secret room, he has a _50% chance to notice_ that the level contains a secret.\n\n_+2:_ When the Rogue is on a level with a secret room, he has a _75% chance to notice_ that the level contains a secret.
|
||||
actors.hero.talent.rogues_foresight.desc=_+1:_ When the Rogue is on a level with a secret room, he has a _60% chance to notice_ that the level contains a secret.\n\n_+2:_ When the Rogue is on a level with a secret room, he has a _90% chance to notice_ that the level contains a secret.
|
||||
|
||||
actors.hero.talent.light_cloak.title=light cloak
|
||||
actors.hero.talent.light_cloak.desc=_+1:_ The Rogue can use his cloak of shadows when it is not equipped, but it recharges at _25% speed_.\n\n_+2:_ The Rogue can use his cloak of shadows when it is not equipped, but it recharges at _50% speed_.\n\n_+3:_ The Rogue can use his cloak of shadows when it is not equipped, but it recharges at _75% speed_.
|
||||
|
||||
@@ -517,10 +517,10 @@ public class GameScene extends PixelScene {
|
||||
if (r instanceof SecretRoom) reqSecrets--;
|
||||
}
|
||||
|
||||
//50%/75% chance, use level's seed so that we get the same result for the same level
|
||||
//60%/90% chance, use level's seed so that we get the same result for the same level
|
||||
//offset seed slightly to avoid output patterns
|
||||
Random.pushGenerator(Dungeon.seedCurDepth()+1);
|
||||
if (reqSecrets <= 0 && Random.Int(4) <= Dungeon.hero.pointsInTalent(Talent.ROGUES_FORESIGHT)){
|
||||
if (reqSecrets <= 0 && Random.Int(10) < 3+3*Dungeon.hero.pointsInTalent(Talent.ROGUES_FORESIGHT)){
|
||||
GLog.p(Messages.get(this, "secret_hint"));
|
||||
}
|
||||
Random.popGenerator();
|
||||
|
||||
Reference in New Issue
Block a user