How to force a skill outside a battle?

Is it possible to force a skill outside a battle?(Using a plugin, script or anything)

Just In case I want to make use of MV's damage calculation formulas in a battle system that uses the current map.
To use it kind of like an ARPG style move?

I imagine using Yanfly's Button Common Events might be an idea, and make the skill only usable on certain maps/situations but just make the event similar enough that it seems the same as that skill. Maybe use the same animations/sound effects that would be used in a combat scene. Just an idea to try.
Some ABS plugins use skills on map, but an ABS plugin for that would be an overkill. I don't think there's a plugin that world just let you cast skills on map. Since you need targets for skills, it's a kind of impractical thing to make anyway.
Some ABS plugins use skills on map, but an ABS plugin for that would be an overkill. I don't think there's a plugin that world just let you cast skills on map. Since you need targets for skills, it's a kind of impractical thing to make anyway.
I mean, I don't need a whole system, mostly just a good way to use the damage formula from MV in the player and maybe the effect.

Also, can the damage formulas be used outside battle to inflict damage? Or would I need to make a new system for it?


To use it kind of like an ARPG style move?

I imagine using Yanfly's Button Common Events might be an idea, and make the skill only usable on certain maps/situations but just make the event similar enough that it seems the same as that skill. Maybe use the same animations/sound effects that would be used in a combat scene. Just an idea to try.

So basically create a system that will mimic all aspects of a skill in the battle scene, but on map? Thats actually a good idea. I will try it tomorrow morning and give feedback on it.
Technically speaking the only one you can inflict damage to is the actor.
You can obtain the damage formula inside
Code:
$dataSkills._data[i]
where i is the skill ID. However, you'd need to define a and b manually in order to be able to use it, because what happens in a battle is that a is defined inside the current action as user and b as target.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-force-a-skill-outside-a-battle.106062/