Class: Studio::ExpGiveItem

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

Overview

Data class describing an Item that gives experience to a Pokemon

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

#exp_count ⇒ Integer (readonly)

Get the number of exp point this item gives

Returns:

  • (Integer)


1420
1421
1422
# File 'docs/3_Studio.rb', line 1420

def exp_count
  @exp_count
end