Jump to content
Sign in to follow this  
Valjean83

Creating a one shot spell

Recommended Posts

Hey everyone.   My final boss has a spell that is very powerful. So much so that I only want him to be able to use it once. How would I go about this? 

Share this post


Link to post
Share on other sites

Let's say that the spell requires "several condition" before it can be used.

Modify the condition into "several condition" and "switch X is false", is required.

Set that the spell will trigger a common event when used, that it turns the switch X into true.

(Basically, this is the general idea. I do aware that checking "switch X is false" for skill requirement is not there by default)

 

When the modified requirement is met, the boss will cast the spell. After that, the common event will run, turning switch X into true in the process.

Since we didn't have any condition that can turns switch X into false, we shall never met the modified requirement again. Hence the skill will be used only once.

Share this post


Link to post
Share on other sites
11 hours ago, Black Mage said:

Let's say that the spell requires "several condition" before it can be used.

Modify the condition into "several condition" and "switch X is false", is required.

Set that the spell will trigger a common event when used, that it turns the switch X into true.

(Basically, this is the general idea. I do aware that checking "switch X is false" for skill requirement is not there by default)

 

When the modified requirement is met, the boss will cast the spell. After that, the common event will run, turning switch X into true in the process.

Since we didn't have any condition that can turns switch X into false, we shall never met the modified requirement again. Hence the skill will be used only once.

 

If you want to avoid scripting, IIRC there is a condition that requires the switch to be on.

 

So you could set the switch to on in a battle event at the start of the battle, then switch it off when the attack is used.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted