v0.2.3: tweaks/corrections to blandfruit and associated buffs

This commit is contained in:
Evan Debenham
2014-11-20 01:59:32 -05:00
parent 4a3098c208
commit ec8ced5fc4
4 changed files with 71 additions and 11 deletions
@@ -1,7 +1,10 @@
package com.shatteredpixel.shatteredpixeldungeon.actors.buffs;
import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
import com.shatteredpixel.shatteredpixeldungeon.effects.CellEmitter;
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.EarthParticle;
import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator;
import com.watabou.utils.Bundle;
import java.util.HashSet;
@@ -10,10 +13,11 @@ import java.util.HashSet;
*/
public class EarthImbue extends FlavourBuff {
public static final float DURATION = 20f;
public static final float DURATION = 30f;
public void proc(Char enemy){
Buff.affect(enemy, Roots.class);
Buff.affect(enemy, Roots.class, 2);
CellEmitter.bottom(enemy.pos).start(EarthParticle.FACTORY, 0.05f, 8);
}
@Override