class Rules::Armor

Armor Each armor has to provide enough information to the weapon for it to calculate the damage. In these simple rules, it returns only a threshold for each armor type

Public Class Methods

new(sheet) click to toggle source
# File data/rpg-prompt/rules_default.rb, line 309
def initialize(sheet)
  @@weapon_hash = RulesHashes::ArmorHash.new()
  self[:armor] = @@weapon_hash[sheet[:armor]]
end