I am working with a plugin that links all declared enemy stats together for creating multi part enemies such as a boss etc. The problem I am having is that once the linked hp reach zero only the last targeted piece executes the collapse effect and victory is played leaving the remaining body parts on screen. My question is does anyone know where (I think it should be in rpg_sprites.js?) and how ($enemyTroop.startCollapse(); ?) to force all the sprites to collapse once they reach zero hp?
I have attempted to add another force collapse within the BattleManager.processVictory function but am really just playing a guessing game as I am not at all knowledgable of js. Any help would be appreciated.
I have attempted to add another force collapse within the BattleManager.processVictory function but am really just playing a guessing game as I am not at all knowledgable of js. Any help would be appreciated.