Jump to content
Animebryan

Need 'incapacitated state' plugin & 'shatter-kill' for Frozen state plugin

Recommended Posts

I'm planning on making 2 custom states, Petrification & Frozen. I need a 'Incapacitated state' plugin for Petrification & a 'Shatter-kill' plugin that causes the affected target to die instantly when hit with a physical attack while Frozen (perferably with a SE to occur when it happens).

 

If anyone can help me with these I would appreciate it. Please :)

Share this post


Link to post
Share on other sites

Here is the Script from ZombieBear for VX Ace (incase you didn't see it from the Custom Death topic):

 

 

#ZombieBear's Solution for shatter-killing:

#First post I've made in a few months now, crazy! Anyway, I used what free time I've had over the past few months working on my game here and there, and in the process I found a fairly simple solution for this. You will have to go in to every skill and add in a line saying whether the attack is physical or not, but it's a quick copy paste job.
 
#To do this just copy the following into a clean page at the bottom of all your scripts:
  
class Game_BattlerBase

  def physical(a, 
     if b.state?(X)
      RPG::SE.new("Ice11", 100, 100).play
      b.add_state(1)
    end
  end

end

#In that first line that says 'if b.state?(X)' change the 'X' to whatever the state id of your shatter/frozen skill is. Should look like this:
 
#if b.state?(34) <---- or whatever your state id number is.
 
#After this go to your basic attack skill and add the following before your damage:

#b.physical(a,  ;

#The whole thing will look like so:

#b.physical(a,  ; a.atk * 4 - b.def * 2

#Not too bad of a method and you can use the loop animation script by Victor to set up a colored animation to play over your character to make them look frozen; it's similar to what I suggested before, but this way leaves you more room for the formula bar and you get the cool SE.
 
#I never did find a way to check if the current action was physical or magical, but there are enough scripts out there to tag the skills in the notebox if you need more specific effects. I even managed to get a nullify all magic skill going on that doesn't affect physical attacks! Now I just have to go answer that 'how to do a runic skill' thread that I saw...

 

 

Do you think you can convert this to javascript?

Share this post


Link to post
Share on other sites

You can have the state removed by damage and the progressive states plugin will activate.

Share this post


Link to post
Share on other sites

You can have the state removed by damage and the progressive states plugin will activate.

Will it be removed with Physical Damage only?

Share this post


Link to post
Share on other sites

 

You can have the state removed by damage and the progressive states plugin will activate.

Will it be removed with Physical Damage only?

 

No, default remove-by-damage just checks whether you receive any damage.

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted