Class: Studio::Type::DamageTo
- Defined in:
- scripts/00800 Studio/00001 Data/00071 Type.rb
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
41 42 43 |
# File 'scripts/00800 Studio/00001 Data/00071 Type.rb', line 41 def defensive_type @defensive_type end |
#factor ⇒ Float (readonly)
Factor of damage over the defensive type
45 46 47 |
# File 'scripts/00800 Studio/00001 Data/00071 Type.rb', line 45 def factor @factor end |