public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Skill Self Effect Bug

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: Skill Self Effect Bug
  • Original author: Dawn of Dark
  • Original date: April 25, 2014
  • Source thread: https://forums.rpgmakerweb.com/threads/skill-self-effect-bug.26384/
  • Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker VXAce Support

Summary

I have been following the official tutorial for several days now. I got to part 3.5 where Touchfuzzy instructs on how to add scripts in Ace. So I followed the instructions and then add the Skill Self Effect, made by Jet, that was included in the tutorial. Spoiler #===============================================================================

Archived First Post

I have been following the official tutorial for several days now. I got to part 3.5 where Touchfuzzy instructs on how to add scripts in Ace.

So I followed the instructions and then add the Skill Self Effect, made by Jet, that was included in the tutorial.

#===============================================================================
# Skill Self Effects
# By Jet10985 (Jet)
# Requested by Touchfuzzy
#===============================================================================
# This script will allow you to specify a skill's effects to target the user
# instead of the target, on skills that don't already effect the user.
# This script has: 0 customization options.
#===============================================================================
# Overwritten Methods:
# None
#-------------------------------------------------------------------------------
# Aliased methods:
# Game_Battler: item_effect_apply
#===============================================================================
=begin
To specify the effects, use this notetag in the skill's notebox:


or
to specify more than 1 effect
--------------------------------------------------------------------------------
Use of this script could be as the following.

You make a "Berserk Strike" skill, which does 200% damage to an enemy.
You make the 2nd effect "Defense Down 50%" and want it applied to the user.
You'd use this notetag:
=end

class RPG::Skill

def self_effects
if @self_effects.nil?
@self_effects = []
self.note.each_line {|a|
scan = a.scan(//i)
scan[0][0].scan(/\d+/).each {|b|
@self_effects.push(@effects[b.to_i - 1]) if b.to_i >= 1
}
}
end
@self_effects
end
end

class Game_Battler

alias jet3745_item_effect_apply item_effect_apply
def item_effect_apply(user, item, effect, reffed = false)
if item.is_a?(RPG::Skill) && item.self_effects.include?(effect) && !reffed
user.item_effect_apply(user, item, effect, true)
return
end
jet3745_item_effect_apply(user, item, effect)
end
end
[>
The thing is that after I include the script in the game and uses a skill which has a self effect on it, the game crashes. The first time I used it it was fine, then the crash come and I tried it on a brand new project but the result was the same. Sometimes it would work and other times it would crash as soon as I issued a command in the battle scene. The image below is what the game shows if it crashes:

Anyone know how to fix this?

Protected download

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

Referenced Images / Attachments

Untitled2.png
Untitled2.png
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#vxace-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar