diff options
author | Florrie <towerofnix@gmail.com> | 2018-08-24 09:44:35 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-08-24 09:44:35 -0300 |
commit | 21e83b949e1727e22823f7921253b53c156d53e0 (patch) | |
tree | cb178d12ed076b7a7d48e89c90b7113c3ad94228 | |
parent | eec9f13fc0442cc4be892f7b61de52009c1de339 (diff) |
Trailing particles
-rw-r--r-- | index.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/index.js b/index.js index af58a89..aa1a4b2 100644 --- a/index.js +++ b/index.js @@ -1420,6 +1420,10 @@ class MagicProjectile extends Sprite { } this.discarded = true + } else { + for (let i = 0; i < this.action.size; i++) { + this.battle.miscSprites.push(new MagicSplashProjectile(this, this.action)) + } } } |