v0.4.1: updated a couple of vfx for wands/staff

This commit is contained in:
Evan Debenham 2016-07-19 04:57:18 -04:00 committed by Evan Debenham
parent a26d7030a5
commit c0eecb1338
2 changed files with 4 additions and 4 deletions

View File

@ -132,7 +132,7 @@ public class WandOfTransfusion extends Wand {
if (lvldiffFromBase < 0){ if (lvldiffFromBase < 0){
item.upgrade(-lvldiffFromBase); item.upgrade(-lvldiffFromBase);
CellEmitter.get(cell).start(Speck.factory(Speck.UP), 0.2f, 3); CellEmitter.get(cell).start(Speck.factory(Speck.UP), 0.2f, 3);
Sample.INSTANCE.play(Assets.SND_EVOKE); Sample.INSTANCE.play(Assets.SND_BURNING);
} }
} }

View File

@ -26,10 +26,10 @@ import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
import com.shatteredpixel.shatteredpixeldungeon.actors.Char; import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroSubClass; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroSubClass;
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.ElmoParticle;
import com.shatteredpixel.shatteredpixeldungeon.items.Item; import com.shatteredpixel.shatteredpixeldungeon.items.Item;
import com.shatteredpixel.shatteredpixeldungeon.items.bags.Bag; import com.shatteredpixel.shatteredpixeldungeon.items.bags.Bag;
import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.ScrollOfRecharging; import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.ScrollOfRecharging;
import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.ScrollOfUpgrade;
import com.shatteredpixel.shatteredpixeldungeon.items.wands.Wand; import com.shatteredpixel.shatteredpixeldungeon.items.wands.Wand;
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfCorruption; import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfCorruption;
import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfDisintegration; import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfDisintegration;
@ -326,8 +326,8 @@ public class MagesStaff extends MeleeWeapon {
} }
private void applyWand(Wand wand){ private void applyWand(Wand wand){
Sample.INSTANCE.play(Assets.SND_EVOKE); Sample.INSTANCE.play(Assets.SND_BURNING);
ScrollOfUpgrade.upgrade(curUser); curUser.sprite.emitter().burst( ElmoParticle.FACTORY, 12 );
evoke(curUser); evoke(curUser);
Dungeon.quickslot.clearItem(wand); Dungeon.quickslot.clearItem(wand);