#===============================================================================# Script: Null Damage State# Author: Selchar# Requestor: Koi#================================================================================beginThis script allows for bypassing the damage step completely(anything found in askill's damage formula box).#-------------------------------------------------------------------------------# State Notetag#-------------------------------------------------------------------------------The following notetag will nullify any and all damage(physical, magical,elemental, and certain hit) when added to a state.<null all damage state>=endmodule Selchar module State Null_State_Damage = 0 endend#===============================================================================# The script itself#===============================================================================class Game_Battler < Game_BattlerBase alias :sel_null_ads_mdv :make_damage_value def make_damage_value(user, item) null_all_damage_state ? @result.make_damage(Selchar::State::Null_State_Damage, item) : sel_null_ads_mdv(user, item) end alias :sel_null_ads_as :add_state def add_state(state_id) null_all_damage_state ? return : sel_null_ads_as(state_id) end def null_all_damage_state states.each do |i| return true if i.null_all_damage_state end return false endendclass RPG::State def null_all_damage_state @note =~ /<null[-_ ]?all[-_ ]?damage[-_ ]?state>/i ? @null_all_damage_state = true : @null_all_damage_state = false if @null_all_damage_state.nil? @null_all_damage_state endend