UI/HPController.rb
#--------------------------------------------------------------------------
# Introduce a new method: hpbar_color2
#--------------------------------------------------------------------------
Introduce a new method: hpbar_color2
Introduce a new method : hpbar_color2
def hpbar_color2(actor)
    return hp_gauge_crit2 if actor.hp < actor.mhp * FSE::HPCONTROL::CRIT_HP
    return hp_gauge_low2 if actor.hp > actor.mhp * FSE::HPCONTROL::CRIT_HP && actor.hp < actor.mhp * FSE::HPCONTROL::LOW_HP
    return hp_warn_color if FSE::HPCONTROL::WARN_COLOR == true && (actor.hp > actor.mhp * FSE::HPCONTROL::LOW_HP && actor.hp < actor.mhp * FSE::HPCONTROL::WARN_HP)
    return hp_gauge_color2 if FSE::HPCONTROL::COMPAT_MODE != false
    return hp_gaugenormal2
  end
def hpbar_color2 ( actor ) return hp_gauge_crit2 if actor . hp < actor . mhp * FSE :: HPCONTROL :: CRIT_HP return hp_gauge_low2 if actor . hp > actor . mhp * FSE :: HPCONTROL :: CRIT_HP && actor . hp < actor . mhp * FSE :: HPCONTROL :: LOW_HP return hp_warn_color if FSE :: HPCONTROL :: WARN_COLOR == true && ( actor . hp > actor . mhp * FSE :: HPCONTROL :: LOW_HP && actor . hp < actor . mhp * FSE :: HPCONTROL :: WARN_HP ) return hp_gauge_color2 if FSE :: HPCONTROL :: COMPAT_MODE != false return hp_gaugenormal2 end
Introduce a new method: hpbar_color2
Introduce a new method : hpbar_color2
actor
<not_specific>