for item in equips.compact do n += item.maxhp if item.dur > 0 end
战斗测试说这条脚本有问题??
脚本的段落
#--------------------------------------------------------------------------
# ● 基本 MaxHP の取得
#--------------------------------------------------------------------------
def base_maxhp
n = actor.parameters[0, @level]
for item in equips.compact do n += item.maxhp if item.dur > 0 end
return n
end