Class: Studio::CreatureForm

Inherits:
Creature show all
Defined in:
scripts/00800 Studio/00001 Data/00042 CreatureForm.rb

Overview

Data class describing a creature form

Defined Under Namespace

Classes: Evolution, ItemHeld

Instance Attribute Summary collapse

Attributes inherited from Creature

#db_symbol, #forms, #id

Method Summary

Methods inherited from Creature

#description, #name, #species

Instance Attribute Details

#abilitiesArray<Symbol> (readonly)

Abilities the creature can have

Returns:

  • (Array<Symbol>)


120
121
122
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 120

def abilities
  @abilities
end

#baby_db_symbolSymbol (readonly)

db_symbol of the baby creature

Returns:

  • (Symbol)


108
109
110
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 108

def baby_db_symbol
  @baby_db_symbol
end

#baby_formInteger (readonly)

Form of the baby

Returns:



112
113
114
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 112

def baby_form
  @baby_form
end

#base_atkInteger (readonly)

Base atk of the form

Returns:



32
33
34
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 32

def base_atk
  @base_atk
end

#base_atsInteger (readonly)

Base ats of the form

Returns:



44
45
46
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 44

def base_ats
  @base_ats
end

#base_dfeInteger (readonly)

Base dfe of the form

Returns:



36
37
38
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 36

def base_dfe
  @base_dfe
end

#base_dfsInteger (readonly)

Base dfs of the form

Returns:



48
49
50
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 48

def base_dfs
  @base_dfs
end

#base_experienceInteger (readonly)

Base experience use in exp calculation when fainted

Returns:



84
85
86
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 84

def base_experience
  @base_experience
end

#base_hpInteger (readonly)

Base hp of the form

Returns:



28
29
30
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 28

def base_hp
  @base_hp
end

#base_loyaltyInteger (readonly)

Loyalty the creature have when caught

Returns:



88
89
90
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 88

def base_loyalty
  @base_loyalty
end

#base_spdInteger (readonly)

Base spd of the form

Returns:



40
41
42
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 40

def base_spd
  @base_spd
end

#breed_groupsArray<Integer> (readonly)

List of breed groups of the creature

Returns:



100
101
102
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 100

def breed_groups
  @breed_groups
end

#catch_rateInteger (readonly)

Catch rate of the creature

Returns:



92
93
94
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 92

def catch_rate
  @catch_rate
end

#ev_atkInteger (readonly)

Atk EV given by this form when fainted

Returns:



56
57
58
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 56

def ev_atk
  @ev_atk
end

#ev_atsInteger (readonly)

Ats EV given by this form when fainted

Returns:



68
69
70
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 68

def ev_ats
  @ev_ats
end

#ev_dfeInteger (readonly)

Dfe EV given by this form when fainted

Returns:



60
61
62
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 60

def ev_dfe
  @ev_dfe
end

#ev_dfsInteger (readonly)

Dfs EV given by this form when fainted

Returns:



72
73
74
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 72

def ev_dfs
  @ev_dfs
end

#ev_hpInteger (readonly)

HP EV given by this form when fainted

Returns:



52
53
54
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 52

def ev_hp
  @ev_hp
end

#ev_spdInteger (readonly)

Spd EV given by this form when fainted

Returns:



64
65
66
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 64

def ev_spd
  @ev_spd
end

#evolutionsArray<Evolution> (readonly)

All the evolutions of that form

Returns:



76
77
78
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 76

def evolutions
  @evolutions
end

#experience_typeInteger (readonly)

Type of exp curve for the form

Returns:



80
81
82
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 80

def experience_type
  @experience_type
end

#female_rateInteger (readonly)

Female rate of the creature

Returns:



96
97
98
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 96

def female_rate
  @female_rate
end

#formInteger (readonly)

Current form ID

Returns:



8
9
10
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 8

def form
  @form
end

#front_offset_yInteger (readonly)

Front offset y of the creature so it can be centered in the UI

Returns:



124
125
126
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 124

def front_offset_y
  @front_offset_y
end

#hatch_stepsInteger (readonly)

Number of steps before the egg hatches

Returns:



104
105
106
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 104

def hatch_steps
  @hatch_steps
end

#heightFloat (readonly)

Height of the form

Returns:

  • (Float)


12
13
14
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 12

def height
  @height
end

#item_heldArray<ItemHeld> (readonly)

Item held by the creature when encountered

Returns:



116
117
118
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 116

def item_held
  @item_held
end

#move_setArray<LearnableMove> (readonly)

Moveset of the creature

Returns:



128
129
130
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 128

def move_set
  @move_set
end

#type1Symbol (readonly)

Symbol of the first type of the form

Returns:

  • (Symbol)


20
21
22
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 20

def type1
  @type1
end

#type2Symbol (readonly)

Symbol of the second type of the form

Returns:

  • (Symbol)


24
25
26
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 24

def type2
  @type2
end

#weightFloat (readonly)

Weight of the form

Returns:

  • (Float)


16
17
18
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 16

def weight
  @weight
end