The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: hiromu656 on February 07, 2011, 01:23:18 PM

Title: Ally Focused Skills That State Change Caster
Post by: hiromu656 on February 07, 2011, 01:23:18 PM
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 ;)).
Title: Re: Self State Changing Ally Skills (Bad Title)
Post by: 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.
Title: Re: Self State Changing Ally Skills (Bad Title)
Post by: hiromu656 on February 07, 2011, 11:38:52 PM
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.
Title: Re: Ally Focused Skills That State Change Caster
Post by: hiromu656 on February 10, 2011, 05:53:42 AM
Anyone got an idea, or should I just let this rest for the time being?
Title: Re: Ally Focused Skills That State Change Caster
Post by: pacdiggity on February 11, 2011, 06:22:15 AM
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.
Title: Re: Ally Focused Skills That State Change Caster
Post by: hiromu656 on February 11, 2011, 12:22:06 PM
Sounds good, I'll try it out and see if I can make it work without a script.
Title: Re: Ally Focused Skills That State Change Caster
Post by: pacdiggity on February 11, 2011, 01:12:38 PM
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.
Title: Re: Ally Focused Skills That State Change Caster
Post by: hiromu656 on February 20, 2011, 06:16:57 AM
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.