Main Menu
  • Welcome to The RPG Maker Resource Kit.

Desperation Attacks (VX)

Started by Zylos, March 05, 2011, 06:28:28 AM

0 Members and 1 Guest are viewing this topic.

Zylos

I don't think it has to do with my script. What class related scripts do you have?

Feel free to PM me with your problem to avoid crowding up the thread.




J. Moreno

I think im having an issue with the script, in battle test and new game works fine (i guess because i didnt started the game again, just tested a new battles), the issue says
"line 130: NoMethodError ocurred"
"undefined method ´[]´for nil:NilClass"

this is the line 130: "$game_system.DesperateAttack[@active_battler.id] != nil &&"

I believe that has something to do with the skills i added after i started the game (and those skills were not updated in the started game) but im not sure... is there a way to fix it or i should start a new game to use the script? (or it has nothing to do with your script???)

PD: Thanks for the script, its awesome!

Do you want original music for your game? Take a look here! You may like it.
Visit my Youtube Channel to listen the newest tracks and subscribe if you like my work :)
Also I have my Soundcloud account:

Zylos

If you're continuing from a prior save file from a period that you didn't have the script inserted, then yeah, there's going to be an issue. If you're playing a new game or playing a save file that had the script to begin with, then it should run just fine.




J. Moreno


Do you want original music for your game? Take a look here! You may like it.
Visit my Youtube Channel to listen the newest tracks and subscribe if you like my work :)
Also I have my Soundcloud account:

J. Moreno

Bump...

I have another issue with the script, when i tried to change the desperate attack in a common event/ script command, i get an error that says:

NoMethodErrorOcurred occurred while running script.
undefined method ´DesperateAttack´ for nil:NilClass

I tested it in a new project with the default scripts, and gets me the same error.

I wrote in the common event this:
$Game_System.DesperateAttack[001] = 15

That should mean that Ralph will change his desperate attack to skill 15, or i wrote something wrong?

I wanted to do this because i wanted to change the desperate attack depend on the weapon.

Thanks for reading!

Do you want original music for your game? Take a look here! You may like it.
Visit my Youtube Channel to listen the newest tracks and subscribe if you like my work :)
Also I have my Soundcloud account:

pacdiggity

It's just a capitalization error, methinks. The call should be like this:
$game_system.DesperateAttack[1] = 15
Also, note that instead of 001 I put 1. That should work.
it's like a metaphor or something i don't know

J. Moreno

Oh my god you are rigth pacman, its just that in the script info says "$Game_System" so i copy paste it lol...

Thank you!

Do you want original music for your game? Take a look here! You may like it.
Visit my Youtube Channel to listen the newest tracks and subscribe if you like my work :)
Also I have my Soundcloud account:

Adon

It works with BEM ! I wanted to try this out myself, and once you have low HP, and you use attack afterwards, it works!

I'm back.

J. Moreno

Almost sure my question will not be answered, but anyway... there is a way to set the desperation attack like FF8, that replaced the normal attack label optionaly? I´m using tankentai.

Regards!

Do you want original music for your game? Take a look here! You may like it.
Visit my Youtube Channel to listen the newest tracks and subscribe if you like my work :)
Also I have my Soundcloud account: