Damage Sequence

Thanks DoubleX. You save me some time and work. ^_^

I'll put your patches on the main post.

The time to correct my plugin in order to access battlers' sprites / sprites' battlers in a different way.

Fortunately i'm already using one on MV with my utilities plugin:

LeUtilities.findBattlerSprite = function(battler) { if( LeUtilities.isScene("Scene_Battle") ) { if( battler.isActor() ) { var sprites = LeUtilities.getScene()._spriteset._actorSprites; } else { var sprites = LeUtilities.getScene()._spriteset._enemySprites; } for(var i = 0; i < sprites.length; i++) { var sprite = sprites; if(sprite._battler === battler) return sprite; } } else { return null; }};Not the fastest method, though.
I've been wondering whether RMMV will have similar issues, and you made me think that such fixes in RMMV are also needed 🙂
The marshal dump issue is solved.
Thank you very much for the fix!! =)


I would like to know; is there a way to fix a small bug with the animation? If you use an "All Enemies" skill, the animation plays once, but the sounds of that animation repeat many times. So, if you have for example a "Slash" sound in the animation and there are 3 enemies in battle, and you use the skill, that sound would repeat 3 times. I'm not sure how to fix it; >.< It's a small issue, but I have animations where I put attack sounds of my characters voices, and if you use that skill on multiple enemies you would hear the sounds multiple times and it's somewhat weird and uncomfortable if you use many sounds in the animation, xD
I know this is a little late on the ball game

but I was wondering if it's possible to add something on to this script:

Okay. Let us say you have a spell like Meteor from FF.

Each meteor when it hits the ground it damages a random enemy PER HIT.

I would like an ADD ON for the damage sequence script that would allow me to create a SEQUENCE in which for example:

<damage sequence>
[16, nil, true, true, false, random target] would target enemy 1 eg.
[26, nil, true, true, false, random target] would target enemy 2 eg.
[36, nil, true, true, false, random target] would target enemy 3 eg.
[46, nil, true, true, false, random target] would target enemy 2 eg.
[56, nil, true, true, false, random target] would target enemy 1 eg.
</damage sequence>

If I manage to accomplish this my battle system would be set up completely.

So any assistance is greatly appreciated. I have faith that I can achieve this with a little help.
can anybody send this script here? The file in the link is unavailable now

Original thread: https://forums.rpgmakerweb.com/threads/damage-sequence.44434/