Class: Studio::PPHealItem

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

Overview

Data class describing an Item that heals a certain amount of PP of a single move

Direct Known Subclasses

AllPPHealItem

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

#pp_count ⇒ Integer (readonly)

Get the number of PP of the move that gets healed

Returns:

  • (Integer)


1432
1433
1434
# File 'docs/3_Studio.rb', line 1432

def pp_count
  @pp_count
end