Collect enemy drops mid battle? (mv)

Hi, this is my first ever post so I apologise if this is in the wrong section or anything.

Anyway, I have an idea for a battle mechanic and was wondering if anyone could offer any advice on how it could be implemented in MV.

The idea is as follows:
Once an enemy is defeated in battle, it has a small chance to drop an item directly into the battle screen. The item could take the form of a health/mana boost for the player or a bomb/some kind of damage inflictor (think Worms). The player will then have a chance (a few turns say) to use a turn to 'grab' the health/mana boost or 'disable' the bomb before it dissappears or explodes. This idea is slightly similar to a mechanic from super mario rpg, where sometimes the player will be randomly healed after defeating an enemy during battle, but in my idea it would require the player to use up a turn, adding more strategy to it - do you risk a turn grabbing the item, or focus on finishing off the remaining enemies?

Questions:
. I imagine that creating the item can be handled by changing the enemy graphic on defeat, but how would you make it so that it has say a 2/10 chance of happening?
. How would you add a timer to the graphic to make it dissappear/explode if the player takes no action?
. How could you make the graphic heal the player/turn off the bomb damage when an action is taken?
. How would you add a 'grab' command to the battle menu based on whether the enemy has dropped an item or not?

I hope all of this makes sense, I know what I mean in my head but it can be difficult to explain these things in writing.

Thanks,
Louis
Game Mechanics Design is for looking at aspects of game play at a more conceptual level. Implementation ("How do I...?") questions go to the Support forum for the engine you are using, as the answers may vary between the engines. So...
Moved to: RPGMaker MV
A plugin is probably the best option but you can achieve the same with a couple of battle events.

For each troop (and for each enemy) make a tab like this:

Condition: Enemy HP < 0%
Change Enemy HP = 1
Transform Enemy 1 -> "Item 1"
Change "Item 1" state -> Timer

This assumed you have made an enemy called 'Item 1' with some kind of graphic like you said. You'll also need a state to act as your turn timer, you can alter the state using Yanfly plugins to reach whatever scenario you want.
@Kes sorry about that!

@SwiftSign great! So the yanfly plugin (which one by the way?) would be used to determine what effects the new graphic has on the player (depending on whether it was 'grabbed' 'disabled' or simply ignored by the player)? How would I go about adding a new battle command ('grab/disable') only when the new graphic/item has been dropped?

Thanks
http://yanfly.moe/2015/12/25/yep-50-buffs-states-core/ < Buffs & States Core

Ah so you want new commands to pop up? Hm. Well you could use Skill Core (http://yanfly.moe/2015/10/13/yep-8-skill-core/) and give every character moves called 'grab' etc. but give them a custom show command. You could them use the other options to make sure its only used on an item 'enemy' with the correct state (so 'Grab' would do a check for 'Item' status, but 'Disable' would check for 'Bomb').

Or you could use the Unleash plugin (http://yanfly.moe/2015/12/26/yep-51-weapon-unleash/) to do something similar, where the 'Attack' or 'Guard' command is directly replaced by your new commands.

Both are going to involve a little bit of JavaScripting to check sommmeeething. You could add a variable into the battle events I mentioned earlier and check for that like this:

<Custom Show Eval>
if ($gameVariables.value(1) === 1) {
visible = true;
} else {
visible = false;
}
</Custom Show Eval>

or

<Custom Replace Attack>
if ($gameVariables.value(1) === 1) {
id = ???;
} else {
id = 0;
}
</Custom Replace Attack>
@SwiftSign okay great, thanks again. I will give this a go sometime later this week when I get a chance. I'm still pretty new to the software, so the variable part may be a bit over my head. The rest I understand well enough though.

Original thread: https://forums.rpgmakerweb.com/threads/collect-enemy-drops-mid-battle-mv.82721/