#!/usr/bin/ruby # coding: utf-8 def damage() srand check = rand(4) if check == 0 point = 100 point elsif check == 1 point = 126 point elsif check == 2 point = 87 point elsif check == 3 point == 199 point end end