Skills you want to help me make 'cuz they are cool and you want to use them too

@Maliki79 Which maker? You write plugins for both, but your profile says MV so I'll go off that.

This thread has instructions for using Yanfly's Buffs & States Core to make an AoE cover skill (some of the code is slightly incorrect in a few posts and gets corrected as you go through it, but I suspect you have the skills to fix that 😉).

You can just modify the original conditional to include isPhysical() or isMagical() to discriminate between the types.

As for not being able to act, you'd just put a separate state on the original user with Restriction: cannot move.
I'd rather go around the buff/states core as it conflicts with some of my custom project plugins, but I'll do what I have to. And yes, my project is an MV one, but for the sake of compatibility, I'd love to see a response that's workable for both engines.

As for not being able to act, you'd just put a separate state on the original user with Restriction: cannot move.
The problem here is that a different cannot move trait like ko or stun should cancel the effect. So the skill should be able to differentiate between those states.
I'd rather go around the buff/states core as it conflicts with some of my custom project plugins, but I'll do what I have to.
Well, these kinds of effects can't really be done with the default engine, so you'd need to use some kind of plugins. The Yanfly (and VisuStella has directly comparable plugins/notetags for compatibility with MZ) are the ones I know of that offer notetags to execute code at various steps of the battle action.

You could either modify them for your own use to accommodate your homemade plugins, or fix your plugins to work with the Yanfly, but rewriting all of their existing functionality yourself just to avoid them seems like it might be a waste of your time 😉

The problem here is that a different cannot move trait like ko or stun should cancel the effect. So the skill should be able to differentiate between those states.
I'd just take all of your states with "cannot move" and add a State Resist to the state that goes on the user. Then you can add a simple check to the state that goes on the rest of the party
Code:
if (!origin.isStateAffected(the ID of the user's state))
    target.removeState(stateId);
so they lose the state and take damage instead.

Or, even better, put a Remove Effect on the user's state that removes the state from the rest of the party.
Think I got it. I'll have to work on these skills sooner than later it seems. Thx for the assistance
Thx everyone!
<JS Post-Apply as User>
if (this.isHpEffect() && value > 0) {
user.forceAction(144);
}
</JS Post-Apply as User>


The forced action deals damage. How do I properly implement a switch to prevent it from looping itself?
The forced action deals damage. How do I properly implement a switch to prevent it from looping itself?
Code:
<JS Post-Apply as User>
  if (this.isHpEffect() && value > 0 && !$gameSwitches.value(ID)) {
    $gameSwitches.setValue(ID, true);
    user.forceAction(144);
  }
</JS Post-Apply as User>
where ID is the ID of an available switch.

Then add a notetag after the actions (Pre- or Post-End Turn, or Regenerate) that makes the switch false again.
Thank you!
I"ve made a skill with this note tag. Works as it should be, but only the user gets a pop up during the healing part. How do I fix that?

<JS Post-Damage>
if (this.isHpEffect() && value > 0){
$gameParty.members()[0].gainHp(Math.round(value * 0.25));
$gameParty.members()[1].gainHp(Math.round(value * 0.25));
$gameParty.members()[2].gainHp(Math.round(value * 0.25));
$gameParty.members()[3].gainHp(Math.round(value * 0.25));
}
</JS Post-Damage>
Try calling the .damagePopup() function on each actor after their gainHp.
Try calling the .damagePopup() function on each actor after their gainHp.
Hi!
I've tried youre suggestion in pretty much every variant I could think of, but nothing worked. The console either said that something is undefined or isnt a function. Any idea what could be the problem?
Any idea what could be the problem?
Nope, no one can have an idea what the problem is without seeing your code.

Original thread: https://forums.rpgmakerweb.com/threads/skills-you-want-to-help-me-make-cuz-they-are-cool-and-you-want-to-use-them-too.151205/