v0.4.0: huntress now starts with knuckledusters, nerfed assassin's bonus damage

This commit is contained in:
Evan Debenham 2016-06-03 12:21:56 -04:00
parent 3c7b2a6af7
commit 23478ccb5c
2 changed files with 3 additions and 2 deletions

View File

@ -34,6 +34,7 @@ import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.ScrollOfMagicMappi
import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.ScrollOfUpgrade; import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.ScrollOfUpgrade;
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfMagicMissile; import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfMagicMissile;
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.Dagger; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.Dagger;
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.Knuckles;
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.MagesStaff; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.MagesStaff;
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.WornShortsword; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.WornShortsword;
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.missiles.Boomerang; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.missiles.Boomerang;
@ -160,7 +161,7 @@ public enum HeroClass {
private static void initHuntress( Hero hero ) { private static void initHuntress( Hero hero ) {
(hero.belongings.weapon = new Dagger()).identify(); (hero.belongings.weapon = new Knuckles()).identify();
Boomerang boomerang = new Boomerang(); Boomerang boomerang = new Boomerang();
boomerang.identify().collect(); boomerang.identify().collect();

View File

@ -358,7 +358,7 @@ public abstract class Mob extends Char {
public int defenseProc( Char enemy, int damage ) { public int defenseProc( Char enemy, int damage ) {
if (!enemySeen && enemy == Dungeon.hero && !Dungeon.hero.encumbered()) { if (!enemySeen && enemy == Dungeon.hero && !Dungeon.hero.encumbered()) {
if (((Hero)enemy).subClass == HeroSubClass.ASSASSIN) { if (((Hero)enemy).subClass == HeroSubClass.ASSASSIN) {
damage *= 1.34f; damage *= 1.25f;
Wound.hit(this); Wound.hit(this);
} else { } else {
Surprise.hit(this); Surprise.hit(this);