Chaos Project

RPG Maker => General Discussion => Topic started by: Heretic86 on November 28, 2012, 04:13:35 am

Title: Actor Restriction States - Magic vs Skills
Post by: Heretic86 on November 28, 2012, 04:13:35 am
So I just came across this.

I tried to test out a State for an Actor to restrict being able to use magic.  I put it on Aluxes, but he was still able to cast Crosscut.  Then I threw it on Hilda, but she can't cast Fire, so the effect of the State works. 

What I did not expect was that Skills (both Techniques and Magic) are apparently regarded differently, much to my suprise.  What I don't get is how to create New Techniques and New Magic in the DB and regard each appropriately.  That is, Magic will be restricted, and Skills are NOT restricted, when a State with Can't Use Magic is applied to an Acotr.

Anyone care to take a crack at explaining this?
(and please don't just say copy and paste because it is needed for scripting later...)
Title: Re: Actor Restriction States - Magic vs Skills
Post by: KK20 on November 28, 2012, 04:32:55 am
Firstly, this: http://forum.chaos-project.com/index.php/topic,12231.0.html

I'm sure you are aware that 'Can't Use Magic' = Cannot use skills whose Attack Power F is 0.
Title: Re: Actor Restriction States - Magic vs Skills
Post by: Heretic86 on November 29, 2012, 04:19:02 am
I was not aware of that.  So, thank you.

I'm going to put a link to that script in the script that I am working on because I'm sure that people will be interested in trying to implement new states, like a skill that is only available with low hp or something.
Title: Re: Actor Restriction States - Magic vs Skills
Post by: KK20 on November 29, 2012, 07:38:46 pm
Yeah, you just had to right click the "Restriction" drop down and it explains it all.

Couldn't you just event those custom states? For example, the low HP one is just calling a common event and adding/removing the state if the actor's HP is within the range. Is there some level of complexity that you're aiming for?
Title: Re: Actor Restriction States - Magic vs Skills
Post by: Heretic86 on November 29, 2012, 08:38:07 pm
Learn something new every day.

Most of my experience with the "Whats this" with other programs has been absolutely piss poor at best.  I was unaware of the detailed explanation that the "Whats this" box provides.  Enterbrain continues to impress me.

What I'm working on is a full rewrite of an existing battle system.  I wanted to test out pretty much every feature that is built into the XP Editor to make sure they all work as expected, and that was one feture I did not know how to implement before your guidance.

My suggestion wasnt something I was specifically planning on implementing.  At first, I thought it was yet another bug in the battle system script, but after testing in an empty project, found it was just a feature I didnt know how to use at that time, hence the post for help.  The script is the XRXS Battle System, and there is a discussion thread in Scripts.

But, I like your script a lot, so a link to it got included in the documentation for the rewrite.  And since I am much more familiar with XRXS now, I can tell you that this wonderful script of yours will be compatible with it out of the box.