Class: GameData::ItemMisc Deprecated

Inherits:
Base show all
Defined in:
scripts/00800 GameData/00100 Serializable/00103 ItemMisc.rb

Overview

Deprecated.

This class is deprecated in .25, please stop using it!

Miscellaneous Item Data structure

Author:

  • Nuri Yuri

Instance Attribute Summary collapse

Attributes inherited from Base

#db_symbol, #id

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from GameData::Base

Instance Attribute Details

#accInteger?

Accuracy multiplier the item gives to the Pokemon

Returns:

#berryHash?

Informations related to the berry

bonus: Array(Integer, Integer, Integer, Integer, Integer, Integer) = list of EV add
type: Integer type id the berry change the skill (natural gift) or reduce the power by two on super effective
power: Integer power of the natural gift move with this berry
time_to_grow: Integer # The time the berry need to grow

Returns:

  • (Hash, nil)

#check_atk_classInteger?

ID of the attack class (1 = Physical, 2 = Special, 3 = Status) the item need to *1.1 the power

Returns:

#cs_idInteger?

ID of the CS if the item teach a skill

Returns:

#ct_idInteger?

ID of the CT if the item teach a skill

Returns:

#evaInteger?

Evade multiplier the item gives to the Pokemon

Returns:

#event_idInteger

ID of the common event to call when using this item

Returns:

#fleeBoolean

If the item helps the player to flee a wild battle

Returns:

  • (Boolean)

#need_ids_ph_2Array<Integer>?

List of Pokemon ids the item can *2 the power of their physical moves

Returns:

#need_ids_sp_1_5Array<Integer>?

List of Pokemon ids the item can *2 the power of their special moves

Returns:

#need_ids_sp_2Array<Integer>?

List of Pokemon ids the item can *2 the power of their special moves

Returns:

#need_user_idInteger?

ID of the Pokemon on which the item can be used

Returns:

#powering_skill_type1Integer?

First possible skill type the item can *1.2 its power

Returns:

#powering_skill_type2Integer?

Second possible skill type the item can *1.2 its power

Returns:

#repel_countInteger

Number of step the item repel lower level Pokemon

Returns:

#skill_learnInteger?

ID of the skill in the database the item teach to a Pokemon

Returns:

#stoneBoolean

If the item is an evolutive stone

Returns:

  • (Boolean)