class RuneRb::Model::Damage
Attributes
hit1[R]
hit2[R]
Public Instance Methods
clear()
click to toggle source
# File app/model/combat.rb, line 40 def clear @hit1 = nil @hit2 = nil end
hit1_damage()
click to toggle source
# File app/model/combat.rb, line 24 def hit1_damage @hit1 == nil ? 0 : @hit1.damage end
hit1_type()
click to toggle source
# File app/model/combat.rb, line 32 def hit1_type @hit1 == nil ? 0 : @hit1.type end
hit2_damage()
click to toggle source
# File app/model/combat.rb, line 28 def hit2_damage @hit2 == nil ? 0 : @hit2.damage end
hit2_type()
click to toggle source
# File app/model/combat.rb, line 36 def hit2_type @hit2 == nil ? 0 : @hit2.type end