#--------------------------------------------------------------------------
# * 獲取規避成功率資訊
#--------------------------------------------------------------------------
def eva
n = 5
for item in armors.compact do n += item.eva end
return n
end
#--------------------------------------------------------------------------
# * 獲取會心一擊成功率資訊
#--------------------------------------------------------------------------
def cri
n = 5
n += 5 if actor.critical_bonus
for weapon in weapons.compact
n += 20 if weapon.critical_bonus
end
return n
end
#--------------------------------------------------------------------------
# * 獲取規避成功率資訊
#--------------------------------------------------------------------------
def eva
n = 5
for item in armors.compact do n += item.eva end
return n
end
#--------------------------------------------------------------------------
# * 獲取會心一擊成功率資訊
#--------------------------------------------------------------------------
def cri
n = 5
n += 5 if actor.critical_bonus
for weapon in weapons.compact
n += 20 if weapon.critical_bonus
end
return n
end
class Game_Actor
def eva
n = 5
for item in armors.compact do n += item.eva end
case class_id
when 1 #1号职业
n += 10 #回避率+10
when 3 #3号职业
n += 5
when 2,4 #2,4号职业
n += 20
end
return n
end
end
class Game_Actor
def eva
n = 5
for item in armors.compact do n += item.eva end
case class_id
when 1 #1号职业
n += 10 #回避率+10
when 3 #3号职业
n += 5
when 2,4 #2,4号职业
n += 20
end
return n
end
end