v0.3.0c: refactored staff visual effects to be contained in wands.

This commit is contained in:
Evan Debenham
2015-06-05 11:03:44 -04:00
committed by Evan Debenham
parent 6efa4694b8
commit c5e9ffa9fe
12 changed files with 133 additions and 77 deletions
@@ -158,6 +158,16 @@ public class WandOfFireblast extends Wand {
return Math.max(1, (int)Math.ceil(curCharges*0.4f));
}
@Override
public void staffFx(MagesStaff.StaffParticle particle) {
particle.color( 0xEE7722 );
particle.am = 0.5f;
particle.setLifespan(0.6f);
particle.acc.set(0, -40);
particle.setSize( 0f, 3f);
particle.shuffleXY(2f);
}
@Override
public String desc() {
return