Skip to content

Commit 766c3ed

Browse files
Version 0.3.1h
GENERAL - lantern can be used to spend your oil flasks to ignite nearby tiles - amount of oil flasks spawned is increased - waterskins can be used to pour water on adjacent tiles (or yourself) - pouring water now creates a patch of water on affected tile - wands of Magic Missile now inflict energy damage with their spells (instead physical) MOBS - decreased wraith HP - decreased wraith blink chance - restored wraith spawn rate on haunted floor to the previous value - gnoll shamans now inflict energy damage with their spells (instead of physical) - fixed first boss not spawning minions when hit MISC - weapons ands armors in shops can be enchanted now - increased duration of "Withered" caused by unholy damage - thunderstorm clouds now can remove Corrosion - updated loading tips - updated tutorial BUGFIXES - fixed issue with weapons being degraded too fast - fixed scroll of Challenge crashing the game - fixed scroll of Transmutation and throwing weapons/ammunitions issue - fixed issue when using throwing weapons with ranged weapon in your main hand - fixed issue with quickslots acting as offhand slots when item in them is equipped - fixed scroll of Transmutation not showing a message when transmuting rings - fixed some typos and grammar mistakes
1 parent baf3514 commit 766c3ed

26 files changed

+296
-169
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
applicationId "com.consideredhamster.yetanotherpixeldungeon"
88
minSdkVersion 9
99
targetSdkVersion 21
10-
versionCode 316
11-
versionName '0.3.1f'
10+
versionCode 318
11+
versionName '0.3.1h'
1212
archivesBaseName = "yapd-$versionName"
1313
}
1414

app/src/main/assets/help.png

-815 Bytes
Loading

app/src/main/java/com/consideredhamster/yetanotherpixeldungeon/Dungeon.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ public static boolean ammosNeeded() {
390390
}
391391

392392
public static boolean torchesNeeded() {
393-
int[] quota = {5, 1, 11, 2, 17, 3, 23, 4, 29, 5};
393+
int[] quota = {5, 2, 11, 4, 17, 6, 23, 8, 29, 10};
394394

395395
return chance( quota, torches );
396396
}

app/src/main/java/com/consideredhamster/yetanotherpixeldungeon/Element.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public static class Unholy extends Element {
204204
public int proc( Char target, int damage ) {
205205

206206
// if ( Random.Int( target.HT ) < damage * damage / 2 ) {
207-
BuffActive.addFromDamage(target, Withered.class, damage);
207+
BuffActive.addFromDamage(target, Withered.class, damage * 2 );
208208

209209
// if( damage < target.HP && buff != null ) {
210210
//

app/src/main/java/com/consideredhamster/yetanotherpixeldungeon/actors/blobs/Thunderstorm.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
*/
2121
package com.consideredhamster.yetanotherpixeldungeon.actors.blobs;
2222

23+
import com.consideredhamster.yetanotherpixeldungeon.actors.buffs.debuffs.Corrosion;
2324
import com.consideredhamster.yetanotherpixeldungeon.actors.hero.Hero;
2425
import com.consideredhamster.yetanotherpixeldungeon.actors.mobs.Elemental;
2526
import com.consideredhamster.yetanotherpixeldungeon.visuals.effects.particles.SparkParticle;
@@ -122,6 +123,7 @@ protected void evolve() {
122123
ch.damage( Random.IntRange( 1, (int)Math.sqrt( ch.HT / 2 + 1 ) ), this, null );
123124
} else {
124125
Buff.detach(ch, Burning.class);
126+
Buff.detach(ch, Corrosion.class);
125127
}
126128
}
127129

app/src/main/java/com/consideredhamster/yetanotherpixeldungeon/actors/hero/Hero.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ private boolean actAttack( HeroAction.Attack action ){
11161116

11171117
if( enemy.isAlive() ){
11181118

1119-
if( belongings.weap1 instanceof RangedWeaponMissile && ( (RangedWeaponMissile) belongings.weap1 ).checkAmmo( this, true ) ){
1119+
if( belongings.weap1 instanceof RangedWeaponMissile && ( (RangedWeaponMissile) belongings.weap1 ).checkAmmo( this, false ) ){
11201120

11211121
RangedWeaponMissile weap = (RangedWeaponMissile) belongings.weap1;
11221122

@@ -1140,7 +1140,7 @@ private boolean actAttack( HeroAction.Attack action ){
11401140

11411141
weap.execute( this, RangedWeaponFlintlock.AC_RELOAD );
11421142

1143-
} else if( weap.checkAmmo( this, true ) ){
1143+
} else if( weap.checkAmmo( this, false ) ){
11441144

11451145
busy();
11461146

@@ -1258,7 +1258,7 @@ public int attackProc( Char enemy, int damage, boolean blocked ){
12581258
wep.proc( this, enemy, damage );
12591259

12601260
if( wep instanceof MeleeWeapon ){
1261-
wep.use( 2 );
1261+
wep.use( 1 );
12621262
}
12631263
}
12641264

@@ -1273,7 +1273,7 @@ public int defenseProc( Char enemy, int damage, boolean blocked ){
12731273
currentArmour = (Shield) belongings.weap2;
12741274
currentArmour.use( 2 );
12751275
} else {
1276-
currentArmour = null;
1276+
currentArmour = belongings.armor;
12771277

12781278
if( currentWeapon instanceof MeleeWeapon ){
12791279
currentWeapon.use( 2 );

app/src/main/java/com/consideredhamster/yetanotherpixeldungeon/actors/mobs/GnollShaman.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public boolean cast( Char enemy ) {
110110

111111
if (hit( this, enemy, true, true )) {
112112

113-
enemy.damage( absorb( damageRoll() + damageRoll(), enemy.armorClass() ), this, null );
113+
enemy.damage( absorb( damageRoll() + damageRoll(), enemy.armorClass() ), this, Element.ENERGY );
114114

115115
} else {
116116

app/src/main/java/com/consideredhamster/yetanotherpixeldungeon/actors/mobs/Goo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public void damage( int dmg, Object src, Element type ) {
126126

127127
dmg /= 2;
128128

129-
} else if ( type == null && dmg > 1 && dmg < HP && dmg > Random.Int( SPAWN_HEALTH * 3 ) ) {
129+
} else if ( type == Element.PHYSICAL && dmg > 1 && dmg < HP && dmg > Random.Int( SPAWN_HEALTH * 3 ) ) {
130130

131131
ArrayList<Integer> candidates = new ArrayList<Integer>();
132132
boolean[] passable = Level.passable;

app/src/main/java/com/consideredhamster/yetanotherpixeldungeon/actors/mobs/Wraith.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ public class Wraith extends MobRanged {
4848

4949
private static final float SPAWN_DELAY = 2.0f;
5050

51-
private static final float BLINK_CHANCE = 0.25f;
52-
public static final float HEALTH_DRAIN = 0.25f;
51+
private static final float BLINK_CHANCE = 0.125f;
5352

5453
public Wraith() {
5554
this( Dungeon.depth );;
@@ -65,6 +64,11 @@ public Wraith( int depth ) {
6564
minDamage += tier;
6665
maxDamage += tier;
6766

67+
minDamage /= 2;
68+
maxDamage /= 2;
69+
70+
HP = HT /= 2;
71+
6872
flying = true;
6973

7074
resistances.put( Element.Frost.class, Element.Resist.PARTIAL );
@@ -80,11 +84,6 @@ public boolean isMagical() {
8084
return true;
8185
}
8286

83-
@Override
84-
public int damageRoll() {
85-
return super.damageRoll() / 2;
86-
}
87-
8887
@Override
8988
public boolean ignoresAC() {
9089
return true;

app/src/main/java/com/consideredhamster/yetanotherpixeldungeon/actors/mobs/npcs/ShopkeeperGhost.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ public boolean isMagical() {
4646
public String description() {
4747
return
4848
"This guy doesn't looks threatening in any way. Yet, for some reason, mere presence of this mysterious fellow " +
49-
"unnerves you. What business he can lead here?";
49+
"unnerves you. You wonder what business he can lead here?";
5050
}
5151
}

0 commit comments

Comments
 (0)