>>3851017
<--- I recommend making a new method for this since you're working with a list, etc.
After you have done that, you're not done. Scroll down to:
def apply_variance(damage, variance)
and below "var = rand(amp + 1) + rand(amp + 1) - amp"
type:
@raw_damage >= 0 ? @raw_damage + var : @raw_damage - var
That will add the randomness factor to the raw damage.
and now you should be done.