Taunt, HP Cost, Def-Based Attack etc. skills help

Pardon me if I'm in the wrong subsection, if I am then I'm sorry and please move this thread to the proper one.

I'm currently making a game through RPG Maker MV for a school convention where I'm gonna show off what I've learned in my Game Programming subject. Plot + Database + Mapping is figured out, but there are some skills I need help with that I can't create. I worked with XV before to help my friend with his capstone project, so I have some experience using this program.

I'll list the classes/enemies here, and I'll point out which ones I'm having trouble with. They'll be placed in order of when that user will learn that skill. Let me know if some of the skills are impossible to do with the program, and I'm open to suggestions.

Crusader
  • Charge - Charges at enemy, deals minimal damage and gains def buff
  • Vertical Slash - high Single Target attack damage
  • Snap Freeze - freezes enemy for 1 turn
  • Revenge - counter next attack taken by user (I don't know how to do this)
  • Shatter Blade - next attack deals critical damage at the cost of health (i do not know how to do this)
  • Judgement - Deals 10% hp of the enemy. If it kills the enemy, user gains atk and agi buff (I don't know how to do this)

Conjurer
  • Sunder - debuff Atk and Def of enemy party by 20% for 1 turns
  • Slam - high dmg magic Single Target attack
  • Concussive Blast - stuns an enemy for 1 turn
  • Summon - summons minions that will take damage for you until they die (I don't know how to do this)
  • Spirit Swords - summons spiritual swords that deal damage over time (I don't know how to do this)
  • Gravity Squeeze - AoE attack that deals a percentage of the enemy's health. User will be weakened after using this skill (all attacks toward her get ignore def buff) (I don't know how to make this)

Duelist (Bruiser)
  • Skewer - high damage ST atk
  • Dragonwheel - normal damage AoE attack
  • Retribution - damage taken is reduced for 3 turns (aside from a def buff, are there other ways to implement this?)
  • Evocation Might - all attacks deal bonus physical damage for 3 turns, cannot be used with Evocation Magic (i don't know how to make this work)
  • Evocation Magic - all attacks deal bonus magic damage for 3 turns, cannot be used with Evocation Might(I don't know how to make this work)
  • Skyliner - 2 turn attack: User jumps first (gains 9% evasion for a turn), then next turn user deals 2x damage on intended target. Attack is canceled if user is hit by an attack while she's jumping. (I don't know how to make this work)

Machinist (Tech-based)
  • Overload - single target def/mdef debuff
  • Incinerate - single-target fire damage, burn chance (I don't know how to add the burn chance)
  • Energy Beam - low dmg AoE attack
  • Cryo Blast - single-target ice attack, freeze chance (I don't know how to add the freeze chance)
  • Neural Shock - gives enemy party AGI debuff for 3 turns
  • Clockwork Decoy - creates copies of user's party, blocks all damage towards party for 1 turn (how do I make this)

Marksman
  • True Aim - Increases Criticial Chances by 30% for 2 turns
  • Quick Hit - mid-high single-target attack
  • Cover-Fire - low dmg AoE attack, small chance of stunning enemy
  • Prep-time - consumes a turn, then next attack deals 2x damage(I don't know how to make this work)
  • Smokescreen - enemy party Miss debuff
  • Shrapnel Shot - high damage attack, main target gets full damage while adjacent enemies get half (I don't know how to make this work)

Monk (semi-Support)
  • Palm Strike - normal single-target attack, Damage over Time debuff
  • Blessing - heals the party at the cost of health (I don't know how to add the health cost)
  • Chakra Fist - normal single-target attack, stun chance
  • Repent - enemy party Def and MDef debuff for 1 turn
  • Cleanse - removes all debuffs on a single ally
  • Resurrection - Revives fallen allies, long cooldown

Guardian
  • Provoke - taunts an enemy for 1 turn ( I don't know how to do this lol)
  • Unbreakable - 100% def and mdef buff for 1 turn
  • Justice Strike - mid single-target attack, confuses enemy
  • Earth Tremor - slams the ground, deals AoE damage based on 50% of user's def (I don't know how to do this)
  • Siege Break - single-target attack with bonus damage based on def (I don't know how to make this work)
  • Sacrifice - removes all debuff placed on the party, all attacks toward user have ignore def buff for 1 turn (how do I make this work)

Warlord (first boss)
  • Slice and Dice - mid damage single-target attack
  • Triple Slice - attacks a single target 3 times
  • Steel Cyclone - mid damage AoE attack, automatically used every 3rd turn or when user's health goes below 50% (I do not know how to do the auto use every 3rd turn and the hp condition)
  • Liberation - increases damage, grants another turn, removes status effects that prevent movement. automatically activates when hit with a status effect that prevents movement (I can only do the increase damage part, the rest I have no clue)
  • Leviathan Swing - high damage single-target attack, stuns the target for a turn. used when user's health hits 70%/50%/30% (don't know how to do the hp conditions)

All skills after the 3rd one are gained during the mid-level of the game, and I'm only tasked to finished it until the first boss (but I do plan on completing this). I have 2 weeks to finish the first part of the game (with the first boss). All help would be appreciated and will be given proper credit in the game.
Almost everything there, from a quick glance, can be done either with inflicting a state or by putting in a custom damage formula in the damage formula box. I can't give you examples of complex formulas as I use Ace, not MV, and so the syntax is different, but if you have a look at this thread you see how to begin going about it.

However, some of the basic formulas are straightforward. So for your first skill, instead of using the default
a.atk * 4 - b.def * 2
which mutiplies your attack by 4, you might have a.atk * 2. Your difficulty comes when you want to apply a buff to yourself while dealing damage to the enemy. That's where the syntax comes in.

Remember that a is the user of the skill and b is the target. So you want to add a buff to a. You then need to establish which buff. So your damage formula would start to look like
a.addBuff(buff id, number of turns it lasts); a.atk * 2 - b.def * 2

Once you've got the general principles of how to construct a damage formula you'll find a lot of those skills you list are not too tricky.
A lot of it is possible with the default engine, as Kes said. Here's my take on the ones you're struggling with:

Revenge - Make a state called Counter with a trait that sets the Ex-Parameter "Counter Attack" to 100%. Make your Revenge skill add this state, with scope "The User". In the formula for the NORMAL ATTACK skill, put "a.isStateAffected(ID of Counter state) ? a.removeState(ID of Counter state) : null; a.atk * 4 - b.def * 2". This will make an attack check whether the user has the Counter state, and if so remove it, so they'll only counterattack once. Note that if they don't counter an attack in the turn they use it, it'll still be removed the next time they attack an enemy normally.

Shatter Blade - Make a state called Shatter with a trait hat sets the Ex-Parameter "Critical Rate" to 100%. Set its "Auto-removal Timing" to "Action End", and leave the duration in turns at 1~1. Make your Shatter Blade skill with scope "The User", with an effect that adds the Shatter state, and one for "Recover HP". Set this to a negative, either in percentage, flat value, or both. You can make it cost a flat 20HP, or 20% HP, or 20 + 5%, whatever works for your game. Now, when you use this in battle, you'll expend that much of your HP, and your next action will crit. Once you take that action, the state will automatically remove and your crit will return to normal.

Judgement - Make your skill deal HP damage, and in the formula put "damage = b.mhp * 10 / 100; damage >= b.hp ? (a.addBuff(2, NUMTURNS), a.addBuff(6, NUMTURNS)) : null; damage". This will set damage to 10% of the target's max HP, and if the damage is greater than or equal to its current HP it will buff atk and agi for the number of turns you specify, then deal {damage} damage to the target. The effect happens nigh-instantaneously, so you'll see the enemy die at the same time as you get the buffs, don't worry.

Summon - As far as I'm aware this isn't ENTIRELY possible with the default system, but you can make most of it using some clever setup. Make an actor for your summon, giving it whatever SV graphic you want the summon to have (if you're using side-view battle). Make a new class called "damage sponge" or something and give the summon that class. In the class traits, give it "Auto Battle", and "Seal Skill" for "Attack" and "Guard". Give it a trait to set the Sp-Parameter "Target Rate" to 999% so it will always be the target of attacks until it dies. Now make your Summon skill, set it to "The User", set its type to "HP Damage" and in the formula put "$gameParty.addActor(5); 0".

This gets the summon INTO your party, but there are some provisos: first of all, because you set it to HP Damage but aren't actually damaging the user, you'll get a "no effect" message. Secondly, there's no way to remove the summon from battle afterwards without a plugin of some description. Thirdly, with a full 4-member party you can't use this skill because you won't be able to add an additional party member. This is the closest I've gotten to a plugin-less implementation of Summon, but someone else might be able to fill in the blanks.

Spirit Swords - The best I can come up with is to make a state that gets inflicted on the target of the skill which sets HP Regeneration to a negative percentage and lasts however many turns you want Spirit Swords to last. You won't have a visual for the state unless you make a custom SV overlay for it, which is slightly more complex than you might be used to.

Gravity Squeeze - Make the skill scope "All Enemies" and the damage formula for the skill "damage = b.mhp * PERCENTAGE / 100; (a.addDebuff(3, TURNS), a.addDebuff(3, TURNS), a.addDebuff(3, TURNS), a.addDebuff(3, TURNS)); damage". It doesn't actually matter what you put for the first TURNS as it will be overwritten by the last one; doing addDebuff four times will ensure a -2 debuff to DEF, which is the maximum it can be, even in a battle with one enemy where you already had a +2 buff to it. Alternatively, you could do (a._buffs[3] = -2, a._buffTurns[3] = TURNS); to achieve the same effect.

Retribution - Rather than a DEF buff, give the user a state with whatever duration settings you want that decreases the Sp-Parameters "Physical Damage" and "Magical Damage"; for example, if you wanted to reduce all incoming damage by 20% for the duration of the state, set both parameters to 80%.

Evocation Might/Magic - Is this supposed to affect everyone in the party or just the user? I have a couple of ways you can implement this depending on how it's supposed to work.

Skyliner - Not possible to fully implement in the default engine, you'd need plugins for it.

Incinerate/Cryoblast - Make the states for Burn/Freeze. Then, if for example you wanted it to be a 1 in 4 chance of inflicting the state, add "Math.randomInt(4) === 3 ? b.addState(ID of burn/freeze) : null; DAMAGE FORMULA

Clockwork Decoy - You can't really do a "duplicated party" effect using the default engine unless you make a battle animation for it and have a complicated series of conditional branches to work out which combination to show, but you can achieve the effect of the skill itself by making the scope "All Allies" and adding a state that sets the Physical Damage/Magical Damage Sp-Parameters to 0% and lasts 1 turn.

Prep-time - Is the intent for the user to spend a turn casting the skill, then wasting another turn after that, then dealing 2x damage, or just dealing 2x damage the turn after casting it? If the latter, just have the skill add a state to the user with Action End 1~1 for Auto-removal timing which sets Attack and M. Attack to 200%.

Shrapnel Shot - I could make this work based on enemy ID but depending on how you've arranged your enemies in the troop view adjacent IDs are not always necessarily adjacent enemies in terms of position. The default battle system doesn't really have a concept of positioning like that. If you want to know how to do it with the IDs, let me know.

Blessing - This one's tough because if you set the scope to "All Allies" it includes the user. You'd likely have to use a plugin that allows for scopes like "all allies except the user" like Yanfly's battle engine provides.

Provoke - Just add a state to the user lasting 1 turn which sets the Target Rate parameter to 999%. Simple.

Earth Tremor - Set the scope to All Enemies, make the damage formula "a.def * 50 / 100".

Siege Break - You should be able to work this out from Earth Tremor, but if not let me know.

Sacrifice - Make the damage formula for the skill "$gameParty.battleMembers().forEach(function(member) { member._states = []; }); a._buffs[3] = -2; a._buffTurns[3] = 1; 0" has the same "no effect" proviso as other skills that have a damage formula but don't do any damage.

Steel Cyclone - Add it to the enemy's attack pattern box twice: once with an activation condition of Turn 0~3, and once with an activation condition of HP 0%~50%.

Liberation - Probably too complex for the default engine without some serious jiggery-pokery that I don't have time to experiment with right now.

Leviathan Swing - You should be able to work this out from the Steel Cyclone implementation, but if not let me know.
Thanks for the responses! I've been trying to understand how they work and will be implementing them on my game.

Trihan:

  • Evocation Might/Magic will only affect the user, and not the whole party.
  • One of Edgar's skills from FF6 is where I got the idea for Skyliner, just letting you know. Where he jumps for the first turn (in a 2-turn attack), then strikes the enemy for the second. If this is really impossible with the program, I'll try to think of an alternative
  • Prep-time is meant to spend a turn casting the skill, then the next attack the user deals will have 2x damage, regardless if it's a normal attack or one of his skills.
I'll be looking more into your formulas and your suggestions. I'm pretty new to MV and I polished my maps/database first. Thanks again for the suggestions!
Ah, if it only affects the user it won't be quite so straightforward. Would you be able to get the effect you're looking for by raising the user's attack/magic attack if you can remove one state from the user if they give themselves the other one?
Yeah, I was thinking along those lines. I guess I'll just turn into ATK/MATK buffs. Thanks for the idea!

Anywas, about Summon, I initially thought of them as summoning a shield. I saw the Bubble plugin at Yanfly's stuff. It has the similar effect I'm looking for so I'll try to tinker with it.
UPDATE

I hope someone sees this. I've made changes following your suggestions Trihan 😀 I'm a lot more content with the skills now. I saw some skills made possible through Yanfly's plugins but I can't get any of them to work for some reason. I don't know what I'm doing wrong, I'm sure I've activated and used some of the plugins correctly.

Original thread: https://forums.rpgmakerweb.com/threads/taunt-hp-cost-def-based-attack-etc-skills-help.75595/