Main Menu
  • Welcome to The RPG Maker Resource Kit.

Ally Focused Skills That State Change Caster

Started by hiromu656, February 07, 2011, 01:23:18 PM

0 Members and 1 Guest are viewing this topic.

hiromu656

Yet another request, I believe this should be it for me in the requesting business though (for the time being).

What I'd like to have is a script that makes a skill used on an ally (or enemy) also affect the caster by putting a state on them. For instance I use a revival spell on my friend, she comes back to life, but I suffer from a state called "Weakened Soul", now my spirit is reduced until cured or it passes (since revival is no easy task, just ask Edward ;)).

modern algebra

That's a default feature. In the upper right corner of the Skills database, there is a box that says States Changed and a list of all your states. Just click the Weakened Soul state until it has a + beside it in that list.

hiromu656

Quote from: modern algebra on February 07, 2011, 02:17:33 PM
That's a default feature. In the upper right corner of the Skills database, there is a box that says States Changed and a list of all your states. Just click the Weakened Soul state until it has a + beside it in that list.
Not exactly, I want the Scope to be an ally, but the state to change on the caster.

hiromu656

Anyone got an idea, or should I just let this rest for the time being?

pacdiggity

Link the skill to a common event maybe? That should probably get the results you need. Set the skill scope to an ally and run a common event that checks which actor used the skill using variables (I'm sure there's a way, I'll figure it out if needed) and add the state using that event. No script required.

Script would probably be more reliable though.
it's like a metaphor or something i don't know

hiromu656

Sounds good, I'll try it out and see if I can make it work without a script.

pacdiggity

I had another idea;
Set the scope to the caster, then have the common event revive the entire party. Of course, this would only work as a mass revival, so do what you want.
This would be easier to make, but a lot less practical.
it's like a metaphor or something i don't know

hiromu656

no worries, I came to a solution using Common Events, I just made each character capable of Reviving have their own Revival. Then I linked that skill to a common event that added a state to that character so that you gain the state by casting it, and someone else will gain a different state if they were to cast the same spell. But thanks a lot, Pacman.