From a0617572bb590e2c0d864d3d2bef4dde055ab0b3 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 28 Nov 2014 11:51:40 -0500 Subject: [PATCH] v0.2.3: cloak of shadows is now unique to the rogue --- .../shatteredpixeldungeon/actors/hero/HeroClass.java | 2 +- .../shatteredpixel/shatteredpixeldungeon/items/Generator.java | 2 +- .../shatteredpixeldungeon/items/artifacts/CloakOfShadows.java | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/HeroClass.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/HeroClass.java index 5eb952f76..37233caa5 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/HeroClass.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/HeroClass.java @@ -63,7 +63,7 @@ public enum HeroClass { }; public static final String[] ROG_PERKS = { - "Rogues start with a Cloak of Shadows.", + "Rogues start with a unique Cloak of Shadows.", "Rogues identify a type of a ring on equipping it.", "Rogues are proficient with light armor, dodging better while wearing one.", "Rogues are proficient in detecting hidden doors and traps.", diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/Generator.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/Generator.java index 1878cbf14..4bec881f4 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/Generator.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/Generator.java @@ -188,7 +188,7 @@ public class Generator { MasterThievesArmband.class, SandalsOfNature.class, TalismanOfForesight.class}; - Category.ARTIFACT.probs = new float[]{ 0, 1, 1, 1, 0, 1, 1 }; + Category.ARTIFACT.probs = new float[]{ 0, 1, 0, 1, 0, 1, 1 }; Category.SEED.classes = new Class[]{ Firebloom.Seed.class, diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java index 9e1af8f03..4b14b9222 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java @@ -31,6 +31,8 @@ public class CloakOfShadows extends Artifact { chargeCap = level+5; exp = 0; defaultAction = AC_STEALTH; + + bones = false; } private boolean stealthed = false;