I noticed that in the script I am using it seems to define that already.
class Armor
alias oecs_epss_name name
alias oecs_epss_description description
alias oecs_epss_price price
alias oecs_epss_atk atk
alias oecs_epss_def def
alias oecs_epss_spi spi
alias oecs_epss_agi agi
if OECS.constants.include?("Durability")
alias oecs_epss_durability durability
end
alias oecs_epss_state_set state_set
alias oecs_epss_element_set element_set
alias oecs_epss_prevent_critical prevent_critical
def prevent_critical
if @identified
return self.oecs_epss_prevent_critical
else
return self.mother_item.critical
end
end
alias oecs_epss_half_mp_cost half_mp_cost
def half_mp_cost
if @identified
return self.oecs_epss_half_mp_cost
else
return self.mother_item.critical
end
end
alias oecs_epss_double_exp_gain double_exp_gain
def double_exp_gain
if @identified
return self.oecs_epss_double_exp_gain
else
return self.mother_item.critical
end
end
alias oecs_epss_auto_hp_recover auto_hp_recover
def auto_hp_recover
if @identified
return self.oecs_epss_auto_hp_recover
else
return self.mother_item.critical
end
end
alias oecs_epss_auto_mp_recover auto_mp_recover
def auto_mp_recover
if @identified
return self.oecs_epss_auto_mp_recover
else
return self.mother_item.critical
end
end
Ah, there is no script for the RPG::Armor auto_hp thing is there? Is it built in?
Also, I am not sure the method that injects item abilities is not notebox driven. Can I just do
class RPG::Armor
def auto_mp_recover
end
end
so that it is defined, then alter game_actor and stuff to cause it to regen mp? I tried but it seems to not be working...my way, that is, not yours.
Edit: Also, if this is the kind of stuff you guys go through to script for us undeserving wretches, you guys deserve a cake.