v0.3.0c: trap refactor pt1, moved all traps to be instance based (not properly tied into level logic yet)

This commit is contained in:
Evan Debenham
2015-06-02 00:35:46 -04:00
parent 512c51dee1
commit 40c0d61dfa
15 changed files with 263 additions and 81 deletions
@@ -247,7 +247,7 @@ public class CursedWand {
//shock and recharge
case 3:
LightningTrap.trigger(user.pos, user);
new LightningTrap().set( user.pos ).activate();
Buff.prolong(user, ScrollOfRecharging.Recharging.class, 20f);
ScrollOfRecharging.charge(user);
SpellSprite.show(user, SpellSprite.CHARGE);
@@ -322,7 +322,7 @@ public class CursedWand {
//summon monsters
case 3:
SummoningTrap.trigger( user.pos, user );
new SummoningTrap().set( user.pos ).activate();
wand.wandUsed();
break;
}