Class: Studio::Type::DamageTo
Overview
Data class describing the damage a type does against another type
Instance Attribute Summary collapse
-
#defensive_type ⇒ Symbol
readonly
Defensive type getting the damage factor.
-
#factor ⇒ Float
readonly
Factor of damage over the defensive type.
Instance Attribute Details
#defensive_type ⇒ Symbol (readonly)
Defensive type getting the damage factor
1053 1054 1055 |
# File 'docs/3_Studio.rb', line 1053 def defensive_type @defensive_type end |
#factor ⇒ Float (readonly)
Factor of damage over the defensive type
1056 1057 1058 |
# File 'docs/3_Studio.rb', line 1056 def factor @factor end |