Class: Studio::CreatureForm
- Defined in:
- scripts/00800 Studio/00001 Data/00042 CreatureForm.rb
Overview
Data class describing a creature form
Defined Under Namespace
Instance Attribute Summary collapse
-
#abilities ⇒ Array<Symbol>
readonly
Abilities the creature can have.
-
#baby_db_symbol ⇒ Symbol
readonly
db_symbol of the baby creature.
-
#baby_form ⇒ Integer
readonly
Form of the baby.
-
#base_atk ⇒ Integer
readonly
Base atk of the form.
-
#base_ats ⇒ Integer
readonly
Base ats of the form.
-
#base_dfe ⇒ Integer
readonly
Base dfe of the form.
-
#base_dfs ⇒ Integer
readonly
Base dfs of the form.
-
#base_experience ⇒ Integer
readonly
Base experience use in exp calculation when fainted.
-
#base_hp ⇒ Integer
readonly
Base hp of the form.
-
#base_loyalty ⇒ Integer
readonly
Loyalty the creature have when caught.
-
#base_spd ⇒ Integer
readonly
Base spd of the form.
-
#breed_groups ⇒ Array<Integer>
readonly
List of breed groups of the creature.
-
#catch_rate ⇒ Integer
readonly
Catch rate of the creature.
-
#ev_atk ⇒ Integer
readonly
Atk EV given by this form when fainted.
-
#ev_ats ⇒ Integer
readonly
Ats EV given by this form when fainted.
-
#ev_dfe ⇒ Integer
readonly
Dfe EV given by this form when fainted.
-
#ev_dfs ⇒ Integer
readonly
Dfs EV given by this form when fainted.
-
#ev_hp ⇒ Integer
readonly
HP EV given by this form when fainted.
-
#ev_spd ⇒ Integer
readonly
Spd EV given by this form when fainted.
-
#evolutions ⇒ Array<Evolution>
readonly
All the evolutions of that form.
-
#experience_type ⇒ Integer
readonly
Type of exp curve for the form.
-
#female_rate ⇒ Integer
readonly
Female rate of the creature.
-
#form ⇒ Integer
readonly
Current form ID.
-
#front_offset_y ⇒ Integer
readonly
Front offset y of the creature so it can be centered in the UI.
-
#hatch_steps ⇒ Integer
readonly
Number of steps before the egg hatches.
-
#height ⇒ Float
readonly
Height of the form.
-
#item_held ⇒ Array<ItemHeld>
readonly
Item held by the creature when encountered.
-
#move_set ⇒ Array<LearnableMove>
readonly
Moveset of the creature.
-
#type1 ⇒ Symbol
readonly
Symbol of the first type of the form.
-
#type2 ⇒ Symbol
readonly
Symbol of the second type of the form.
-
#weight ⇒ Float
readonly
Weight of the form.
Attributes inherited from Creature
Method Summary
Methods inherited from Creature
Instance Attribute Details
#abilities ⇒ Array<Symbol> (readonly)
Abilities the creature can have
120 121 122 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 120 def abilities @abilities end |
#baby_db_symbol ⇒ Symbol (readonly)
db_symbol of the baby creature
108 109 110 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 108 def baby_db_symbol @baby_db_symbol end |
#baby_form ⇒ Integer (readonly)
Form of the baby
112 113 114 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 112 def baby_form @baby_form end |
#base_atk ⇒ Integer (readonly)
Base atk of the form
32 33 34 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 32 def base_atk @base_atk end |
#base_ats ⇒ Integer (readonly)
Base ats of the form
44 45 46 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 44 def base_ats @base_ats end |
#base_dfe ⇒ Integer (readonly)
Base dfe of the form
36 37 38 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 36 def base_dfe @base_dfe end |
#base_dfs ⇒ Integer (readonly)
Base dfs of the form
48 49 50 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 48 def base_dfs @base_dfs end |
#base_experience ⇒ Integer (readonly)
Base experience use in exp calculation when fainted
84 85 86 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 84 def base_experience @base_experience end |
#base_hp ⇒ Integer (readonly)
Base hp of the form
28 29 30 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 28 def base_hp @base_hp end |
#base_loyalty ⇒ Integer (readonly)
Loyalty the creature have when caught
88 89 90 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 88 def base_loyalty @base_loyalty end |
#base_spd ⇒ Integer (readonly)
Base spd of the form
40 41 42 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 40 def base_spd @base_spd end |
#breed_groups ⇒ Array<Integer> (readonly)
List of breed groups of the creature
100 101 102 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 100 def breed_groups @breed_groups end |
#catch_rate ⇒ Integer (readonly)
Catch rate of the creature
92 93 94 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 92 def catch_rate @catch_rate end |
#ev_atk ⇒ Integer (readonly)
Atk EV given by this form when fainted
56 57 58 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 56 def ev_atk @ev_atk end |
#ev_ats ⇒ Integer (readonly)
Ats EV given by this form when fainted
68 69 70 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 68 def ev_ats @ev_ats end |
#ev_dfe ⇒ Integer (readonly)
Dfe EV given by this form when fainted
60 61 62 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 60 def ev_dfe @ev_dfe end |
#ev_dfs ⇒ Integer (readonly)
Dfs EV given by this form when fainted
72 73 74 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 72 def ev_dfs @ev_dfs end |
#ev_hp ⇒ Integer (readonly)
HP EV given by this form when fainted
52 53 54 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 52 def ev_hp @ev_hp end |
#ev_spd ⇒ Integer (readonly)
Spd EV given by this form when fainted
64 65 66 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 64 def ev_spd @ev_spd end |
#evolutions ⇒ Array<Evolution> (readonly)
All the evolutions of that form
76 77 78 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 76 def evolutions @evolutions end |
#experience_type ⇒ Integer (readonly)
Type of exp curve for the form
80 81 82 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 80 def experience_type @experience_type end |
#female_rate ⇒ Integer (readonly)
Female rate of the creature
96 97 98 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 96 def female_rate @female_rate end |
#form ⇒ Integer (readonly)
Current form ID
8 9 10 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 8 def form @form end |
#front_offset_y ⇒ Integer (readonly)
Front offset y of the creature so it can be centered in the UI
124 125 126 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 124 def front_offset_y @front_offset_y end |
#hatch_steps ⇒ Integer (readonly)
Number of steps before the egg hatches
104 105 106 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 104 def hatch_steps @hatch_steps end |
#height ⇒ Float (readonly)
Height of the form
12 13 14 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 12 def height @height end |
#item_held ⇒ Array<ItemHeld> (readonly)
Item held by the creature when encountered
116 117 118 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 116 def item_held @item_held end |
#move_set ⇒ Array<LearnableMove> (readonly)
Moveset of the creature
128 129 130 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 128 def move_set @move_set end |
#type1 ⇒ Symbol (readonly)
Symbol of the first type of the form
20 21 22 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 20 def type1 @type1 end |
#type2 ⇒ Symbol (readonly)
Symbol of the second type of the form
24 25 26 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 24 def type2 @type2 end |
#weight ⇒ Float (readonly)
Weight of the form
16 17 18 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 16 def weight @weight end |