forked from FreezingMoon/AncientBeast
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Related to FreezingMoon#2635 Revamp Gumble's passive ability 'Gooey Body' to create a trap when Gumble is killed. * Modify `src/abilities/Gumble.ts` to implement the new 'Gooey Body' ability. * When Gumble is killed, create a trap at Gumble's location that pins any unit that walks over it. * The trap prevents movement for the current round but allows the use of abilities. * Movement-related abilities can free the unit if landing outside the goo. * The trap remains until overlapped by another similar trap. * The upgraded ability does not affect allied units. * Add the sprite file `assets/autoload/phaser/units/sprites/trap_goey-body.png` to the repository. * Ensure the new ability is triggered by the 'onDeath' event.
- Loading branch information
1 parent
796e653
commit 00627d8
Showing
1 changed file
with
35 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters