# ============================================================================= # ♫ ~ Special Skill by TheoAllen ~ ♫ # Version : 1.0 # Contact : www.rpgmakerid.com # Requires : N/A # ============================================================================= # ♫ UPDATES : # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # 2013.03.15 - Started and finished script # # ============================================================================= # ♫ DESCRIPTION : # This script can make your skill and item have abilities to ignore counter # attack, magic reflect, or even evasion. # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # ♫ INSTRUCTION : # Put this script below material but above main in script editor. Don't forget # to save. # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # ♫ HOW TO USE : # Type these notetags in skill or item note # # Make skill or item can't be countered (physical) # # Make skill or item can't be reflected (magical) # # Make skill or item always hit (physical or magical) # ============================================================================= # ♫ TERMS OF USE : # - Credit me, TheoAllen. If you think it's necessary. # - You may use and edit this script both for commercial and non-commercial or # even adult game as long as u don't claim it yours. # - I'll be glad if you give me a free copy of your game if you use this script # in your commercial project. # ============================================================================= $imported = {} if $imported.nil? $imported["Theo-SpecialSkill"] = true # ============================================================================= # ♫ No custom configuration avalaible ~ ♫ # ============================================================================= # ============================================================================= # ♫ Do not edit unless you know what to do ~ ♫ # ============================================================================= # SCRIPT INFOS : # ------------------------------------- # Rewriten method : N/A # ------------------------------------- # Aliased method : # - Game_Battler # def item_cnt # def item_mrf # def item_eva # ------------------------------------- # New Classes : N/A # ============================================================================= # ♫ RPG::UsableItem ~ ♫ # ============================================================================= class RPG::UsableItem < RPG::BaseItem def anti_counter? return self.note.include?("") end def anti_reflect? return self.note.include?("") end def always_hit? return self.note.include?("") end end # ============================================================================= # ♫ Game_Battler ~ ♫ # ============================================================================= class Game_Battler < Game_BattlerBase alias theolized_counter item_cnt def item_cnt(user, item) return 0 if item.anti_counter? theolized_counter(user, item) end alias theolized_reflect item_mrf def item_mrf(user, item) return 0 if item.anti_reflect? theolized_reflect(user, item) end alias theolized_eva item_eva def item_eva(user, item) return 0 if item.always_hit? theolized_eva(user, item) end end # ============================================================================= # ♫ End of Script ~ ♫ # =============================================================================