Class: Studio::Type::DamageTo

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#defensive_typeSymbol (readonly)

Defensive type getting the damage factor

Returns:

  • (Symbol)


41
42
43
# File 'scripts/00800 Studio/00001 Data/00071 Type.rb', line 41

def defensive_type
  @defensive_type
end

#factorFloat (readonly)

Factor of damage over the defensive type

Returns:

  • (Float)


45
46
47
# File 'scripts/00800 Studio/00001 Data/00071 Type.rb', line 45

def factor
  @factor
end