v0.7.2c: bugfixes:
- fixed NPCs triggering ring of wealth when being shot by corruption - fixed hourglass not updating charges correctly in some cases - fixed blandfruit bush rarely appearing in 'on diet' challenge - fixed strength from ring of might not appearing in rankings
This commit is contained in:
parent
d4afe8697f
commit
bc3b13f247
|
@ -290,7 +290,7 @@ public class TimekeepersHourglass extends Artifact {
|
||||||
type = buffType.POSITIVE;
|
type = buffType.POSITIVE;
|
||||||
}
|
}
|
||||||
|
|
||||||
float partialTime = 1f;
|
float partialTime = 0f;
|
||||||
|
|
||||||
ArrayList<Integer> presses = new ArrayList<Integer>();
|
ArrayList<Integer> presses = new ArrayList<Integer>();
|
||||||
|
|
||||||
|
@ -338,6 +338,11 @@ public class TimekeepersHourglass extends Artifact {
|
||||||
if (mob.paralysed <= 0) mob.sprite.remove(CharSprite.State.PARALYSED);
|
if (mob.paralysed <= 0) mob.sprite.remove(CharSprite.State.PARALYSED);
|
||||||
GameScene.freezeEmitters = false;
|
GameScene.freezeEmitters = false;
|
||||||
|
|
||||||
|
while (partialTime > 0f){
|
||||||
|
partialTime -= 2f;
|
||||||
|
charge --;
|
||||||
|
}
|
||||||
|
|
||||||
updateQuickslot();
|
updateQuickslot();
|
||||||
super.detach();
|
super.detach();
|
||||||
activeBuff = null;
|
activeBuff = null;
|
||||||
|
|
|
@ -237,7 +237,9 @@ public class WandOfCorruption extends Wand {
|
||||||
} else {
|
} else {
|
||||||
curUser.earnExp(0, enemy.getClass());
|
curUser.earnExp(0, enemy.getClass());
|
||||||
}
|
}
|
||||||
|
if (enemy.alignment == Char.Alignment.ENEMY){
|
||||||
enemy.rollToDropLoot();
|
enemy.rollToDropLoot();
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
Buff.affect(enemy, Doom.class);
|
Buff.affect(enemy, Doom.class);
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
package com.shatteredpixel.shatteredpixeldungeon.levels.rooms.secret;
|
package com.shatteredpixel.shatteredpixeldungeon.levels.rooms.secret;
|
||||||
|
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.Challenges;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Hunger;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Hunger;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.items.food.ChargrilledMeat;
|
import com.shatteredpixel.shatteredpixeldungeon.items.food.ChargrilledMeat;
|
||||||
|
@ -54,7 +55,9 @@ public class SecretLarderRoom extends SecretRoom {
|
||||||
Painter.fill(level, c.x-1, c.y-1, 3, 3, Terrain.WATER);
|
Painter.fill(level, c.x-1, c.y-1, 3, 3, Terrain.WATER);
|
||||||
Painter.set(level, c, Terrain.GRASS);
|
Painter.set(level, c, Terrain.GRASS);
|
||||||
|
|
||||||
|
if (!Dungeon.isChallenged(Challenges.NO_FOOD)) {
|
||||||
level.plant(new BlandfruitBush.Seed(), level.pointToCell(c));
|
level.plant(new BlandfruitBush.Seed(), level.pointToCell(c));
|
||||||
|
}
|
||||||
|
|
||||||
int extraFood = (int)(Hunger.STARVING - Hunger.HUNGRY) * (1 + Dungeon.depth / 5);
|
int extraFood = (int)(Hunger.STARVING - Hunger.HUNGRY) * (1 + Dungeon.depth / 5);
|
||||||
|
|
||||||
|
|
|
@ -183,7 +183,7 @@ public class WndRanking extends WndTabbed {
|
||||||
|
|
||||||
pos += GAP + GAP;
|
pos += GAP + GAP;
|
||||||
|
|
||||||
pos = statSlot( this, Messages.get(this, "str"), Integer.toString( Dungeon.hero.STR ), pos );
|
pos = statSlot( this, Messages.get(this, "str"), Integer.toString( Dungeon.hero.STR() ), pos );
|
||||||
pos = statSlot( this, Messages.get(this, "health"), Integer.toString( Dungeon.hero.HT ), pos );
|
pos = statSlot( this, Messages.get(this, "health"), Integer.toString( Dungeon.hero.HT ), pos );
|
||||||
|
|
||||||
pos += GAP;
|
pos += GAP;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user