Class: Studio::StatBoostItem

Inherits:
HealingItem show all
Defined in:
docs/3_Studio.rb

Overview

Data class describing an Item that boost a specific stat of a creature in Battle

Direct Known Subclasses

EVBoostItem

Instance Attribute Summary collapse

Attributes inherited from HealingItem

#loyalty_malus

Attributes inherited from Item

#berry_data, #cooking_data, #db_symbol, #fling_power, #icon, #id, #is_allowing_mega, #is_battle_usable, #is_berry, #is_holdable, #is_limited, #is_map_usable, #position, #price, #socket

Method Summary

Methods inherited from Item

#bitter, #description, #dry, #exact_name, #me, #name, #plural_name, #sour, #spicy, #sweet

Instance Attribute Details

#count ⇒ Integer (readonly)

Get the power of the stat to boost

Returns:

  • (Integer)


1453
1454
1455
# File 'docs/3_Studio.rb', line 1453

def count
  @count
end

#stat ⇒ Symbol (readonly)

Get the symbol of the stat to boost

Returns:

  • (Symbol)


1450
1451
1452
# File 'docs/3_Studio.rb', line 1450

def stat
  @stat
end