The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: IXFURU on September 03, 2010, 11:07:03 AM

Title: script which makes a specific Class immune to heal skills
Post by: IXFURU on September 03, 2010, 11:07:03 AM
I'm using the SKILL categorizer by KGC and believe that a script can be made which limits a class to being unable to heal through skills, only recovery items based on the category of "Rations".
-------------------------------------------------------------
I wanted to add that the script doesn't have to be based on "rations", if there's another script which may work well, then that will work, too.  Basically, If CLASS[id] = NoHealClass then no SKILL which recovers.
Title: Re: script which makes a specific Class immune to heal skills
Post by: IXFURU on September 03, 2010, 03:50:55 PM
Okay. 

I'm new to this forum, so please excuse me for posting this in the XP forum instead of the VX.  My apologies to all in charge.   I also wanted to say that after much searching, I found Modern_Algebra's script "Element_Efficiency_States which proved to be successful in getting what I needed done.  For anyone who cares.  This is how I did it:

I made all Recover Skills in the game of one element.  Then, I set a new state called "DeadAlive" which I placed constantly upon the player of the "DeadWalking" class, using a parallel Common Event and a Control Switch.  Using the script, I made those under that State immune to all Recover Skills Element.  Then, when I created the actor and gave him DeadWalking Class, he was immediately, and permanently stricken with the DeadAlive State which makes him immune to Recover Skills.   (Don't worry, he can still be kept alive through items.) 

I'm so glad to be part of this community.  You can close topic if you want as the issue is resolved.