ARM_ELEMENT[1] = [1]
ARM_ELE_PLUS[1] = []
ARM_ELE_MINUS[1] = []
end
class Game_Actor < Game_Battler
include Arm_Element
#--------------------------------------------------------------------
#------------------------------------------------------------------
alias base_atk_arm base_atk
def base_atk
if @weapon_id == 0 and ARM_ATK[@actor_id] != nil
return $data_actors[@actor_id].parameters[2, @level] * ARM_ATK[@actor_id]
end
return base_atk_arm
end
#--------------------------------------------------------------------
#-------------------------------------------------------------------
alias base_pdef_arm base_pdef
def base_pdef
if @weapon_id == 0 and ARM_PDEF[@actor_id] != nil
return base_pdef_arm + $data_actors[@actor_id].parameters[3, @level] * ARM_PDEF[@actor_id]
end
return base_pdef_arm
end
#--------------------------------------------------------------------
#--------------------------------------------------------------------
alias base_mdef_arm base_mdef
def base_mdef
if @weapon_id == 0 and ARM_MDEF[@actor_id] != nil
return base_mdef_arm + $data_actors[@actor_id].parameters[4, @level] * ARM_MDEF[@actor_id]
end
return base_mdef_arm
end
#------------------------------------------------------------------
#--------------------------------------------------------------
alias element_set_arm element_set
def element_set
if @weapon_id == 0 and ARM_ELEMENT[@actor_id] != []
return ARM_ELEMENT[@actor_id]
end
return element_set_arm
end
#-----------------------------------------------------------------
#-------------------------------------------------------------------
alias plus_state_set_arm plus_state_set
def plus_state_set
if @weapon_id == 0 and ARM_ELE_PLUS[@actor_id] != []
return ARM_ELE_PLUS[@actor_id]
end
return plus_state_set_arm
end
#-------------------------------------------------------------------
#------------------------------------------------------------------
alias minus_state_set_arm minus_state_set
def minus_state_set
if @weapon_id == 0 and ARM_ELE_MINUS[@actor_id] != []
return ARM_ELE_MINUS[@actor_id]
end
return minus_state_set_arm
end
#------------------------------------------------------------------
#-----------------------------------------------------------------
alias animation1_id_arm animation1_id
def animation1_id
if @weapon_id == 0 and ARM_ANIMATION1[@actor_id] != nil
return ARM_ANIMATION1[@actor_id]
end
return animation1_id_arm
end
#---------------------------------------------------------------------
#------------------------------------------------------------------
alias animation2_id_arm animation2_id
def animation2_id
if @weapon_id == 0 and ARM_ANIMATION2[@actor_id] != nil
return ARM_ANIMATION2[@actor_id]
end
return animation2_id_arm
end
end