((Sorry for the quality of pics))
Step 1) Create Common Event. Name it "Sacrifice" "Bomb" "Revenge" whatever you want to name it. Set it up as in Image 1:
-
Change Enemy HP
-Enemy #1
-(x) Decrease
-Constant: 9999
(or however much dmg you want them to take, 9999 is enough to kill them, but won't work if you use a plug in that allows for exceeding default stats. If so, use the [Change Enemy State] instead)
-[x] Allow Knock Out
Step 2) Create the Skill
-Set as image 2.. be sure to choose your own Icon, MP, TP, Animation (to be played on the targets), etc.
-Set as
All Enemies
-Set as HP Damage and choose an Element type.
-Set the Damage you wish the skill to cause (either constant, percentile, special formula, or even variances, etc.)
-Add
Common Event and
Sacrifice Skill Used (or whatever you named it) to Effects.
Step 3) Assign the skill to an Enemy
-Choose the conditions and priority rating in which you want the enemy to use the skill. If you want the enemy to use the skill absolutely under specific conditions, use Battle Events for that.
-In this example I have made, Sacrifice is the highest priority attack, and will trigger when their HP is between 0% and 25% of their Max HP.
Step 4) This one is important. Whenever you create a troop of enemies, be sure to add the Skeleton
FIRST. That puts the Skeleton in the first position. If you recall, we created the common event to affect the enemy in the first position. so that's important that whomever is using this skill be #1.
-If you want to have several skeletons in the same Troop, just create a second, third, fourth, etc. Common Event targeted at those positions, and a copy/paste skill calling the second, third, fourth, etc. Common Event... and then be sure that those enemies are in those positions in the troop.
I hope this makes sense. I am not an expert tutorial writer. LOL!! There may even be easier ways to accomplish this that you will find or others may tell you.
But, this is a simple way to get'r'done.
You may even add explosion animations to the Battler using the skill.. or a death message.. so long as you use the Wait function until it's complete before setting the Skeleton to die.
🙂