FEXP RGSS scripted skills

Wrath Skill

  Increases critical hit rate.

  # WRATH
  alias_method :bwd_wrathskl_gmevent_crit_skill, :crit_skill
  def crit_skill(n, wpn_crit, act_crit, target, weapon, magic, distance)
    n = 0
    if self.actor.skill_include?(‘WRATH’)
      unless (self.actor.maxhp – self.actor.hp) < (self.actor.maxhp / 2)
        n=255
      end
    end
    return bwd_wrathskl_gmevent_crit_skill(n, wpn_crit, act_crit, target,
        weapon, magic, distance)
  end

Prayer Skill

Decreases enemy hit rate.

# PRAYER
  alias_method :pk_prayerskl_gmevent_eva_skill, :eva_skill
  def eva_skill(n, actor_avo, terr_avo, target)
    n = 0
    if self.actor.skill_include?(‘PRAYER’)
      unless self.actor.hp > 10
        n= (11-self.actor.hp)*10
      end
    end
    return pk_prayerskl_gmevent_eva_skill(n, actor_avo, terr_avo, target)
  end