Class: Studio::CreatureForm

Inherits:
Creature show all
Defined in:
docs/00800_Studio.rb

Overview

Data class describing a creature form

Defined Under Namespace

Classes: Evolution, ItemHeld, Resources

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>)


676
677
678
# File 'docs/00800_Studio.rb', line 676

def abilities
  @abilities
end

#baby_db_symbolSymbol (readonly)

db_symbol of the baby creature

Returns:

  • (Symbol)


667
668
669
# File 'docs/00800_Studio.rb', line 667

def baby_db_symbol
  @baby_db_symbol
end

#baby_formInteger (readonly)

Form of the baby

Returns:

  • (Integer)


670
671
672
# File 'docs/00800_Studio.rb', line 670

def baby_form
  @baby_form
end

#base_atkInteger (readonly)

Base atk of the form

Returns:

  • (Integer)


610
611
612
# File 'docs/00800_Studio.rb', line 610

def base_atk
  @base_atk
end

#base_atsInteger (readonly)

Base ats of the form

Returns:

  • (Integer)


619
620
621
# File 'docs/00800_Studio.rb', line 619

def base_ats
  @base_ats
end

#base_dfeInteger (readonly)

Base dfe of the form

Returns:

  • (Integer)


613
614
615
# File 'docs/00800_Studio.rb', line 613

def base_dfe
  @base_dfe
end

#base_dfsInteger (readonly)

Base dfs of the form

Returns:

  • (Integer)


622
623
624
# File 'docs/00800_Studio.rb', line 622

def base_dfs
  @base_dfs
end

#base_experienceInteger (readonly)

Base experience use in exp calculation when fainted

Returns:

  • (Integer)


649
650
651
# File 'docs/00800_Studio.rb', line 649

def base_experience
  @base_experience
end

#base_hpInteger (readonly)

Base hp of the form

Returns:

  • (Integer)


607
608
609
# File 'docs/00800_Studio.rb', line 607

def base_hp
  @base_hp
end

#base_loyaltyInteger (readonly)

Loyalty the creature have when caught

Returns:

  • (Integer)


652
653
654
# File 'docs/00800_Studio.rb', line 652

def base_loyalty
  @base_loyalty
end

#base_spdInteger (readonly)

Base spd of the form

Returns:

  • (Integer)


616
617
618
# File 'docs/00800_Studio.rb', line 616

def base_spd
  @base_spd
end

#breed_groupsArray<Integer> (readonly)

List of breed groups of the creature

Returns:

  • (Array<Integer>)


661
662
663
# File 'docs/00800_Studio.rb', line 661

def breed_groups
  @breed_groups
end

#catch_rateInteger (readonly)

Catch rate of the creature

Returns:

  • (Integer)


655
656
657
# File 'docs/00800_Studio.rb', line 655

def catch_rate
  @catch_rate
end

#ev_atkInteger (readonly)

Atk EV given by this form when fainted

Returns:

  • (Integer)


628
629
630
# File 'docs/00800_Studio.rb', line 628

def ev_atk
  @ev_atk
end

#ev_atsInteger (readonly)

Ats EV given by this form when fainted

Returns:

  • (Integer)


637
638
639
# File 'docs/00800_Studio.rb', line 637

def ev_ats
  @ev_ats
end

#ev_dfeInteger (readonly)

Dfe EV given by this form when fainted

Returns:

  • (Integer)


631
632
633
# File 'docs/00800_Studio.rb', line 631

def ev_dfe
  @ev_dfe
end

#ev_dfsInteger (readonly)

Dfs EV given by this form when fainted

Returns:

  • (Integer)


640
641
642
# File 'docs/00800_Studio.rb', line 640

def ev_dfs
  @ev_dfs
end

#ev_hpInteger (readonly)

HP EV given by this form when fainted

Returns:

  • (Integer)


625
626
627
# File 'docs/00800_Studio.rb', line 625

def ev_hp
  @ev_hp
end

#ev_spdInteger (readonly)

Spd EV given by this form when fainted

Returns:

  • (Integer)


634
635
636
# File 'docs/00800_Studio.rb', line 634

def ev_spd
  @ev_spd
end

#evolutionsArray<Evolution> (readonly)

All the evolutions of that form

Returns:



643
644
645
# File 'docs/00800_Studio.rb', line 643

def evolutions
  @evolutions
end

#experience_typeInteger (readonly)

Type of exp curve for the form

Returns:

  • (Integer)


646
647
648
# File 'docs/00800_Studio.rb', line 646

def experience_type
  @experience_type
end

#female_rateInteger (readonly)

Female rate of the creature

Returns:

  • (Integer)


658
659
660
# File 'docs/00800_Studio.rb', line 658

def female_rate
  @female_rate
end

#formInteger (readonly)

Current form ID

Returns:

  • (Integer)


592
593
594
# File 'docs/00800_Studio.rb', line 592

def form
  @form
end

#front_offset_yInteger (readonly)

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

Returns:

  • (Integer)


679
680
681
# File 'docs/00800_Studio.rb', line 679

def front_offset_y
  @front_offset_y
end

#hatch_stepsInteger (readonly)

Number of steps before the egg hatches

Returns:

  • (Integer)


664
665
666
# File 'docs/00800_Studio.rb', line 664

def hatch_steps
  @hatch_steps
end

#heightFloat (readonly)

Height of the form

Returns:

  • (Float)


595
596
597
# File 'docs/00800_Studio.rb', line 595

def height
  @height
end

#item_heldArray<ItemHeld> (readonly)

Item held by the creature when encountered

Returns:



673
674
675
# File 'docs/00800_Studio.rb', line 673

def item_held
  @item_held
end

#move_setArray<LearnableMove> (readonly)

Moveset of the creature

Returns:



682
683
684
# File 'docs/00800_Studio.rb', line 682

def move_set
  @move_set
end

#resourcesResources (readonly)

Resources of the creature

Returns:



685
686
687
# File 'docs/00800_Studio.rb', line 685

def resources
  @resources
end

#type1Symbol (readonly)

Symbol of the first type of the form

Returns:

  • (Symbol)


601
602
603
# File 'docs/00800_Studio.rb', line 601

def type1
  @type1
end

#type2Symbol (readonly)

Symbol of the second type of the form

Returns:

  • (Symbol)


604
605
606
# File 'docs/00800_Studio.rb', line 604

def type2
  @type2
end

#weightFloat (readonly)

Weight of the form

Returns:

  • (Float)


598
599
600
# File 'docs/00800_Studio.rb', line 598

def weight
  @weight
end