Class: Studio::StatBoostItem

Inherits:
HealingItem show all
Defined in:
scripts/00800 Studio/00001 Data/00002 Item/00300 StatBoostItem.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:



9
10
11
# File 'scripts/00800 Studio/00001 Data/00002 Item/00300 StatBoostItem.rb', line 9

def count
  @count
end

#statSymbol (readonly)

Get the symbol of the stat to boost

Returns:

  • (Symbol)


6
7
8
# File 'scripts/00800 Studio/00001 Data/00002 Item/00300 StatBoostItem.rb', line 6

def stat
  @stat
end