Class: PFM::Skill
- Defined in:
- docs/01450_Systems_00000_General_00001_PFM.rb
Overview
The InGame skill/move information of a Pokemon
Instance Attribute Summary collapse
-
#id ⇒ Integer
readonly
ID of the skill in the Database.
-
#pp ⇒ Integer
The current number of PP the skill has.
-
#ppmax ⇒ Integer
The maximum number of PP the skill has.
Instance Method Summary collapse
-
#accuracy ⇒ Integer
Return the actual accuracy of the skill.
-
#accuracy_text ⇒ String
Return the accuracy text of the skill.
-
#atk_class ⇒ Integer
Get the ATK class for the UI.
-
#base_power ⇒ Integer
(also: #power)
Return the base power (Data power) of the skill.
-
#data ⇒ Studio::Move
Return the actual data of the move.
-
#db_symbol ⇒ Symbol
Return the db_symbol of the skill.
-
#description ⇒ String
Return the skill description.
-
#initialize(db_symbol) ⇒ Skill
constructor
Create a new Skill information.
-
#map_use ⇒ Integer
Return the ID of the common event to call on Map use.
-
#name ⇒ String
Return the name of the skill.
-
#power_text ⇒ String
Return the text of the power of the skill.
-
#pp_text ⇒ String
Return the text of the PP of the skill.
-
#symbol ⇒ Symbol
Return the symbol of the method to call in BattleEngine.
-
#type ⇒ Integer
Return the actual type ID of the skill.
-
#type?(type_id) ⇒ Boolean
Is the skill a specific type ?.
Constructor Details
#initialize(db_symbol) ⇒ Skill
Create a new Skill information
1922 1923 |
# File 'docs/01450_Systems_00000_General_00001_PFM.rb', line 1922 def initialize(db_symbol) end |
Instance Attribute Details
#id ⇒ Integer (readonly)
ID of the skill in the Database
1919 1920 1921 |
# File 'docs/01450_Systems_00000_General_00001_PFM.rb', line 1919 def id @id end |
#pp ⇒ Integer
The current number of PP the skill has
1916 1917 1918 |
# File 'docs/01450_Systems_00000_General_00001_PFM.rb', line 1916 def pp @pp end |
#ppmax ⇒ Integer
The maximum number of PP the skill has
1913 1914 1915 |
# File 'docs/01450_Systems_00000_General_00001_PFM.rb', line 1913 def ppmax @ppmax end |
Instance Method Details
#accuracy ⇒ Integer
Return the actual accuracy of the skill
1959 1960 |
# File 'docs/01450_Systems_00000_General_00001_PFM.rb', line 1959 def accuracy end |
#accuracy_text ⇒ String
Return the accuracy text of the skill
1963 1964 |
# File 'docs/01450_Systems_00000_General_00001_PFM.rb', line 1963 def accuracy_text end |
#atk_class ⇒ Integer
Get the ATK class for the UI
1983 1984 |
# File 'docs/01450_Systems_00000_General_00001_PFM.rb', line 1983 def atk_class end |
#base_power ⇒ Integer Also known as: power
Return the base power (Data power) of the skill
1950 1951 |
# File 'docs/01450_Systems_00000_General_00001_PFM.rb', line 1950 def base_power end |
#data ⇒ Studio::Move
Return the actual data of the move
1926 1927 |
# File 'docs/01450_Systems_00000_General_00001_PFM.rb', line 1926 def data end |
#db_symbol ⇒ Symbol
Return the db_symbol of the skill
1930 1931 |
# File 'docs/01450_Systems_00000_General_00001_PFM.rb', line 1930 def db_symbol end |
#description ⇒ String
Return the skill description
1967 1968 |
# File 'docs/01450_Systems_00000_General_00001_PFM.rb', line 1967 def description end |
#map_use ⇒ Integer
Return the ID of the common event to call on Map use
1971 1972 |
# File 'docs/01450_Systems_00000_General_00001_PFM.rb', line 1971 def map_use end |
#name ⇒ String
Return the name of the skill
1934 1935 |
# File 'docs/01450_Systems_00000_General_00001_PFM.rb', line 1934 def name end |
#power_text ⇒ String
Return the text of the power of the skill
1942 1943 |
# File 'docs/01450_Systems_00000_General_00001_PFM.rb', line 1942 def power_text end |
#pp_text ⇒ String
Return the text of the PP of the skill
1946 1947 |
# File 'docs/01450_Systems_00000_General_00001_PFM.rb', line 1946 def pp_text end |
#symbol ⇒ Symbol
Return the symbol of the method to call in BattleEngine
1938 1939 |
# File 'docs/01450_Systems_00000_General_00001_PFM.rb', line 1938 def symbol end |
#type ⇒ Integer
Return the actual type ID of the skill
1955 1956 |
# File 'docs/01450_Systems_00000_General_00001_PFM.rb', line 1955 def type end |
#type?(type_id) ⇒ Boolean
Is the skill a specific type ?
1975 1976 |
# File 'docs/01450_Systems_00000_General_00001_PFM.rb', line 1975 def type?(type_id) end |