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

Constant Summary

Constants inherited from Item

Item::ItemGetME

Instance Attribute Summary collapse

Attributes inherited from HealingItem

#loyalty_malus

Attributes inherited from Item

#db_symbol, #fling_power, #icon, #id, #is_battle_usable, #is_holdable, #is_limited, #is_map_usable, #position, #price, #socket

Method Summary

Methods inherited from Item

#description, #exact_name, #me, #name, #plural_name

Instance Attribute Details

#countInteger (readonly)

Get the power of the stat to boost

Returns:

  • (Integer)


1274
1275
1276
# File 'docs/3_Studio.rb', line 1274

def count
  @count
end

#statSymbol (readonly)

Get the symbol of the stat to boost

Returns:

  • (Symbol)


1271
1272
1273
# File 'docs/3_Studio.rb', line 1271

def stat
  @stat
end