public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Counter + Stun causes crash

BMM_Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Counter + Stun causes crash
  • Original author: Kes
  • Original date: August 15, 2015
  • Source thread: https://forums.rpgmakerweb.com/threads/counter-stun-causes-crash.43674/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support

Summary

Does anyone have any suggestions about what might be causing this and how to fix it? Thanks.

Archived First Post

Yami's Battle symphony can be found here

I have a character who has a 50% chance of counter attacking when hit.  He also gets a sword with a 40% chance of stunning.  When he counter attacks, and the stun also kicks in, there is a chance, but not a certainty, that the following error message comes up.

Script 'Yami Battle Symphony' line 806: NoMethodError occurred

undefined method 'item' for nil: NilClass

As a precaution I removed the tag I'd put in the note box, so this is running on the script's default way of handling Attack i.e. skill #1

Does anyone have any suggestions about what might be causing this and how to fix it?

Thanks.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#rpg-maker-archive#rgss-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar