end
class Game_BattlerBase
#--------------------------------------------------------------------------
# ● 限界突破追加値
#--------------------------------------------------------------------------
def limit_param(param_id)
data = 0
#行別に処理を取得
feature_objects.each do |f|
f.note.each_line do |l|
memo = l.scan(/<#{LB::WORD}[::](\S+),(\S+)>/).flatten
data += memo[1].to_i if memo != nil and !memo.empty? && memo[0].to_i == param_id
end
end
return data
end
end
class Game_Actor < Game_Battler
#--------------------------------------------------------------------------
# ● 通常能力値
#--------------------------------------------------------------------------
def param_max(param_id)
#パラメータID別に値を取得
case param_id
when 7;return LB::A_LUK + limit_param(param_id)
end
return super
end
end
class Game_Enemy < Game_Battler
#--------------------------------------------------------------------------
# ● 通常能力値
#--------------------------------------------------------------------------
def param_max(param_id)
#パラメータID別に値を取得
case param_id
when 7;return LB::E_LUK + limit_param(param_id)
end
return super
end
end