未测试
class Window_BattleLog def display_use_item(subject, item) if item.is_a?(RPG::Skill) add_text(item.message1) unless item.message1.empty? unless item.message2.empty? wait add_text(item.message2) end else add_text(sprintf(Vocab::UseItem, subject.name, item.name)) end end end
class Window_BattleLog
def display_use_item(subject, item)
if item.is_a?(RPG::Skill)
add_text(item.message1) unless item.message1.empty?
unless item.message2.empty?
wait
add_text(item.message2)
end
else
add_text(sprintf(Vocab::UseItem, subject.name, item.name))
end
end
end
|