Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Need help with Trickster's Multi-Equip Script

Whenever I enter a battle everything seems to be working fine, but when any actor besides the number one actor attacks I get the error:

'Script' Scene_Battle Line 82: NameError Occured.

Undefined local variable or method damage' for #Scene_Battle0x3b20c90

And then the game shuts down. Anyone have a fix for this or know what's wrong?

Also when I add the Multi-Attack script to my game I get a syntax error on line 134 of the Merging script ;O
 
Trickster;199550 said:
What is on the line causing the error?

Which error? The one for both scripts or the one for just Multi-Equip? Without Multi-Attack it's line 82 of the scene_battle script (damage = target.weapon_damage.shift)..With Multi-Attack it's line 134 of the merging script (damage_frames.each_with_next_and_index do |start, finish, i|).
 
Okay, updating MACL fixed that problem, now I just have the problem that with 2 weapons my characters attack 3 times D: Or more accurately....attacks twice with the second weapon o_O
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top