Class: PFM::Skill
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.
-
#appeal ⇒ Integer
Return the appeal value 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.
-
#condition ⇒ Integer
Return the condition ID of the skill.
-
#contest_description ⇒ String
Get the skill contest description.
-
#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.
-
#jam ⇒ Integer
Return the jam value of the skill.
-
#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
2169 2170 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2169 def initialize(db_symbol) end |
Instance Attribute Details
#id ⇒ Integer (readonly)
ID of the skill in the Database
2166 2167 2168 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2166 def id @id end |
#pp ⇒ Integer
The current number of PP the skill has
2163 2164 2165 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2163 def pp @pp end |
#ppmax ⇒ Integer
The maximum number of PP the skill has
2160 2161 2162 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2160 def ppmax @ppmax end |
Instance Method Details
#accuracy ⇒ Integer
Return the actual accuracy of the skill
2218 2219 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2218 def accuracy end |
#accuracy_text ⇒ String
Return the accuracy text of the skill
2222 2223 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2222 def accuracy_text end |
#appeal ⇒ Integer
Return the appeal value of the skill
2210 2211 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2210 def appeal end |
#atk_class ⇒ Integer
Get the ATK class for the UI
2246 2247 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2246 def atk_class end |
#base_power ⇒ Integer Also known as: power
Return the base power (Data power) of the skill
2197 2198 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2197 def base_power end |
#condition ⇒ Integer
Return the condition ID of the skill
2206 2207 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2206 def condition end |
#contest_description ⇒ String
Get the skill contest description
2230 2231 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2230 def contest_description end |
#data ⇒ Studio::Move
Return the actual data of the move
2173 2174 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2173 def data end |
#db_symbol ⇒ Symbol
Return the db_symbol of the skill
2177 2178 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2177 def db_symbol end |
#description ⇒ String
Return the skill description
2226 2227 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2226 def description end |
#jam ⇒ Integer
Return the jam value of the skill
2214 2215 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2214 def jam end |
#map_use ⇒ Integer
Return the ID of the common event to call on Map use
2234 2235 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2234 def map_use end |
#name ⇒ String
Return the name of the skill
2181 2182 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2181 def name end |
#power_text ⇒ String
Return the text of the power of the skill
2189 2190 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2189 def power_text end |
#pp_text ⇒ String
Return the text of the PP of the skill
2193 2194 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2193 def pp_text end |
#symbol ⇒ Symbol
Return the symbol of the method to call in BattleEngine
2185 2186 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2185 def symbol end |
#type ⇒ Integer
Return the actual type ID of the skill
2202 2203 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2202 def type end |
#type?(type_id) ⇒ Boolean
Is the skill a specific type ?
2238 2239 |
# File 'docs/4_Systems_000_General_1_PFM.rb', line 2238 def type?(type_id) end |