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;
|
||||
}
|
||||
|
||||
float partialTime = 1f;
|
||||
float partialTime = 0f;
|
||||
|
||||
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);
|
||||
GameScene.freezeEmitters = false;
|
||||
|
||||
while (partialTime > 0f){
|
||||
partialTime -= 2f;
|
||||
charge --;
|
||||
}
|
||||
|
||||
updateQuickslot();
|
||||
super.detach();
|
||||
activeBuff = null;
|
||||
|
|
|
@ -237,7 +237,9 @@ public class WandOfCorruption extends Wand {
|
|||
} else {
|
||||
curUser.earnExp(0, enemy.getClass());
|
||||
}
|
||||
enemy.rollToDropLoot();
|
||||
if (enemy.alignment == Char.Alignment.ENEMY){
|
||||
enemy.rollToDropLoot();
|
||||
}
|
||||
} else {
|
||||
Buff.affect(enemy, Doom.class);
|
||||
}
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
package com.shatteredpixel.shatteredpixeldungeon.levels.rooms.secret;
|
||||
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Challenges;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Hunger;
|
||||
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.set(level, c, Terrain.GRASS);
|
||||
|
||||
level.plant(new BlandfruitBush.Seed(), level.pointToCell(c));
|
||||
if (!Dungeon.isChallenged(Challenges.NO_FOOD)) {
|
||||
level.plant(new BlandfruitBush.Seed(), level.pointToCell(c));
|
||||
}
|
||||
|
||||
int extraFood = (int)(Hunger.STARVING - Hunger.HUNGRY) * (1 + Dungeon.depth / 5);
|
||||
|
||||
|
|
|
@ -183,7 +183,7 @@ public class WndRanking extends WndTabbed {
|
|||
|
||||
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 += GAP;
|
||||
|
|
Loading…
Reference in New Issue
Block a user