Skip to content

Commit 8cfaed9

Browse files
Version 0.3.4
MINOR CHANGES - added a pop-up about Tutorial on the second floor for new players - decreased the amount of healing Goo receives from absorbing its spawn - decreased the distance between Tengu's shadows spawned in the alternate phase - DM-300 now spawns immediately aggroed and closer to the starting room - decreased DM-100's health by half (they deserved it) - boss summons no longer grant any experience - piranhas are now resistant to fire and immune to burning - changed skeletons spawning on the fifth floor to gnoll shamans - evil eyes no longer drop meat, but vampire bats do - buying, selling, and stealing items from shops now takes one turn - increased amount of ammo/gunpowder/bombs sold at the last shop - freezing duration from Wands of Ice Barrier will ignore the target's armor now - Scrolls of Phase Warp are now more reliably random BUGS & ISSUES - fixed Yog's fists not counting as magical enemies - fixed the burning fist ability description - fixed evil eyes being able to hit you twice - fixed DM-300 bombs not exploding at the same time - fixed DM-300 being able to hit you at a distance - fixed DM-300 being able to use abilities while asleep - fixed DM-300 always throwing two bombs while enraged - fixed dropping/throwing equipped armor taking fewer turns than unequipping it - fixed Scrolls of Detect Magic failing to identify equipped items in certain cases - fixed some shelves being inaccessible on warehouse floors - fixed vampiric weapons draining health from magical enemies - fixed the guard buff lasting longer than intended - fixed some other (even less important) stuff
1 parent 22fae09 commit 8cfaed9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+312
-211
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.github"
88
minSdkVersion 9
99
targetSdkVersion 33
10-
versionCode 330
11-
versionName '0.3.3'
10+
versionCode 340
11+
versionName '0.3.4'
1212
archivesBaseName = "yapd-$versionName"
1313
}
1414

app/src/main/AndroidManifest.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<uses-permission android:name="android.permission.VIBRATE"/>
99

10-
<uses-sdk android:targetSdkVersion="20"/>
10+
<uses-sdk android:targetSdkVersion="33"/>
1111

1212
<uses-feature
1313
android:glEsVersion="0x00020000"/>
@@ -27,7 +27,8 @@
2727
<activity
2828
android:label="@string/app_name"
2929
android:name="com.consideredhamster.yetanotherpixeldungeon.YetAnotherPixelDungeon"
30-
android:screenOrientation="portrait">
30+
android:screenOrientation="portrait"
31+
android:exported="true">
3132
<intent-filter >
3233
<action android:name="android.intent.action.MAIN" />
3334
<category android:name="android.intent.category.LAUNCHER" />

app/src/main/java/com/consideredhamster/yetanotherpixeldungeon/actors/Actor.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,6 @@ public static void process() {
235235

236236
doNext = current.act();
237237

238-
if (current instanceof Char) {
239-
BuffReactive.check( (Char)current );
240-
}
241-
242238
if (doNext && !Dungeon.hero.isAlive()) {
243239
doNext = false;
244240
current = null;

app/src/main/java/com/consideredhamster/yetanotherpixeldungeon/actors/Char.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public abstract class Char extends Actor {
110110
protected boolean act() {
111111

112112
Dungeon.level.updateFieldOfView( this );
113-
Buff.detach( this, Guard.class);
113+
// Buff.detach( this, Guard.class);
114114

115115
moving = false;
116116

@@ -182,7 +182,7 @@ public boolean attack( Char enemy ){
182182

183183
if( exposed != null ) {
184184
exposed.object = enemy.id();
185-
exposed.reset(1);
185+
exposed.reset( 1f );
186186
}
187187

188188
}
@@ -618,9 +618,9 @@ public void spend( float time ) {
618618
timeScale *= 0.667f;
619619
}
620620

621-
// if (buff( Speed.class ) != null) {
622-
// timeScale *= 1.5f;
623-
// }
621+
if (buff( Guard.class ) != null) {
622+
remove( Guard.class );
623+
}
624624

625625
super.spend( time / timeScale );
626626
}

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import com.consideredhamster.yetanotherpixeldungeon.actors.buffs.debuffs.Vertigo;
2626
import com.consideredhamster.yetanotherpixeldungeon.actors.hero.Hero;
2727
import com.consideredhamster.yetanotherpixeldungeon.levels.features.Chasm;
28+
import com.consideredhamster.yetanotherpixeldungeon.visuals.effects.Speck;
2829
import com.watabou.utils.Random;
2930
import com.consideredhamster.yetanotherpixeldungeon.Dungeon;
3031
import com.consideredhamster.yetanotherpixeldungeon.actors.Actor;
@@ -49,8 +50,9 @@ public static boolean affect( int c, int r, int radius, int damage, Object sourc
4950
boolean terrainAffected = false;
5051

5152
if (Dungeon.visible[c]) {
52-
CellEmitter.get(c).burst( BlastParticle.FACTORY, 12 / ( r + 1 ) );
53-
CellEmitter.get(c).burst( SmokeParticle.FACTORY, 6 / ( r + 1 ) );
53+
CellEmitter.get( c ).start( Speck.factory( Speck.BLAST_FIRE, true ), 0.05f, 6 );
54+
// CellEmitter.get(c).burst( BlastParticle.FACTORY, 6 );
55+
CellEmitter.get(c).burst( SmokeParticle.FACTORY, 3 );
5456
}
5557

5658
if (Level.flammable[c]) {

app/src/main/java/com/consideredhamster/yetanotherpixeldungeon/actors/buffs/BuffReactive.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ public abstract class BuffReactive extends Buff {
2929

3030
protected int duration;
3131

32-
public void reset( int value ) {
33-
duration = value;
32+
public void reset( float value ) {
33+
// duration = value;
34+
spend( value );
3435
}
3536

3637
public void check(){
@@ -49,7 +50,9 @@ public static void check( Char ch ){
4950

5051
@Override
5152
public boolean act() {
52-
spend( TICK );
53+
// spend( TICK );
54+
// check();
55+
detach();
5356
return true;
5457
}
5558

app/src/main/java/com/consideredhamster/yetanotherpixeldungeon/actors/buffs/special/Combo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ public boolean attachTo( Char target ) {
5858
return super.attachTo( target );
5959
}
6060

61-
public void hit( ) {
61+
public void hit( float delay ) {
6262

6363
count++;
6464

65-
reset( 1 );
65+
reset( delay );
6666

6767
if ( target.sprite.visible && count >= 3 ) {
6868
target.sprite.showStatus( CharSprite.DEFAULT, TXT_COMBO, count );

app/src/main/java/com/consideredhamster/yetanotherpixeldungeon/actors/buffs/special/Guard.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,4 @@ public void proc( boolean withShield ) {
8585
}
8686
}
8787
}
88-
8988
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1335,7 +1335,7 @@ public int attackProc( Char enemy, int damage, boolean blocked ){
13351335

13361336
Weapon wep = rangedWeapon != null ? rangedWeapon : currentWeapon;
13371337

1338-
Buff.affect( this, Combo.class ).hit();
1338+
Buff.affect( this, Combo.class ).hit( attackDelay() );
13391339

13401340
if( wep != null ){
13411341

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ private static Class<?> mobClass( int depth ) {
8686
break;
8787
case 5:
8888
chances = new float[]{ 6, 5, 4, 3, 2, 1 };
89-
classes = new Class<?>[]{ Rat.class, Thief.class, GnollHunter.class, SewerCrab.class, CarrionSwarm.class, Skeleton.class };
89+
classes = new Class<?>[]{ Rat.class, Thief.class, GnollHunter.class, SewerCrab.class, CarrionSwarm.class, GnollShaman.class };
9090
break;
9191

9292
case 6:

0 commit comments

Comments
 (0)