Class: RPG::State
- Defined in:
- lib/eidolon/rgss/rpg/state.rb,
lib/eidolon/rgss2/rpg/state.rb,
lib/eidolon/rgss3/rpg/state.rb
Overview
RGSS3
This data structure is specific to RGSS3 (VX Ace).
State
The data class for states.
Instance Attribute Summary collapse
-
#agi_rate ⇒ Object
Returns the value of attribute agi_rate.
-
#animation_id ⇒ Object
Returns the value of attribute animation_id.
-
#atk_rate ⇒ Object
Returns the value of attribute atk_rate.
-
#auto_release_prob ⇒ Object
Returns the value of attribute auto_release_prob.
-
#auto_removal_timing ⇒ Object
Returns the value of attribute auto_removal_timing.
-
#battle_only ⇒ Object
Returns the value of attribute battle_only.
-
#cant_evade ⇒ Object
Returns the value of attribute cant_evade.
-
#cant_get_exp ⇒ Object
Returns the value of attribute cant_get_exp.
-
#chance_by_damage ⇒ Object
Returns the value of attribute chance_by_damage.
-
#def_rate ⇒ Object
Returns the value of attribute def_rate.
-
#dex_rate ⇒ Object
Returns the value of attribute dex_rate.
-
#element_set ⇒ Object
Returns the value of attribute element_set.
-
#eva ⇒ Object
Returns the value of attribute eva.
-
#guard_element_set ⇒ Object
Returns the value of attribute guard_element_set.
-
#hit_rate ⇒ Object
Returns the value of attribute hit_rate.
-
#hold_turn ⇒ Object
Returns the value of attribute hold_turn.
-
#icon_index ⇒ Object
Returns the value of attribute icon_index.
-
#id ⇒ Object
Returns the value of attribute id.
-
#int_rate ⇒ Object
Returns the value of attribute int_rate.
-
#max_turns ⇒ Object
Returns the value of attribute max_turns.
-
#maxhp_rate ⇒ Object
Returns the value of attribute maxhp_rate.
-
#maxsp_rate ⇒ Object
Returns the value of attribute maxsp_rate.
-
#mdef_rate ⇒ Object
Returns the value of attribute mdef_rate.
-
#message1 ⇒ Object
Returns the value of attribute message1.
-
#message2 ⇒ Object
Returns the value of attribute message2.
-
#message3 ⇒ Object
Returns the value of attribute message3.
-
#message4 ⇒ Object
Returns the value of attribute message4.
-
#min_turns ⇒ Object
Returns the value of attribute min_turns.
-
#minus_state_set ⇒ Object
Returns the value of attribute minus_state_set.
-
#name ⇒ Object
Returns the value of attribute name.
-
#nonresistance ⇒ Object
Returns the value of attribute nonresistance.
-
#note ⇒ Object
Returns the value of attribute note.
-
#offset_by_opposite ⇒ Object
Returns the value of attribute offset_by_opposite.
-
#pdef_rate ⇒ Object
Returns the value of attribute pdef_rate.
-
#plus_state_set ⇒ Object
Returns the value of attribute plus_state_set.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#rating ⇒ Object
Returns the value of attribute rating.
-
#reduce_hit_ratio ⇒ Object
Returns the value of attribute reduce_hit_ratio.
-
#release_by_damage ⇒ Object
Returns the value of attribute release_by_damage.
-
#remove_at_battle_end ⇒ Object
Returns the value of attribute remove_at_battle_end.
-
#remove_by_damage ⇒ Object
Returns the value of attribute remove_by_damage.
-
#remove_by_restriction ⇒ Object
Returns the value of attribute remove_by_restriction.
-
#remove_by_walking ⇒ Object
Returns the value of attribute remove_by_walking.
-
#restriction ⇒ Object
Returns the value of attribute restriction.
-
#shock_release_prob ⇒ Object
Returns the value of attribute shock_release_prob.
-
#slip_damage ⇒ Object
Returns the value of attribute slip_damage.
-
#spi_rate ⇒ Object
Returns the value of attribute spi_rate.
-
#state_set ⇒ Object
Returns the value of attribute state_set.
-
#steps_to_remove ⇒ Object
Returns the value of attribute steps_to_remove.
-
#str_rate ⇒ Object
Returns the value of attribute str_rate.
-
#zero_hp ⇒ Object
Returns the value of attribute zero_hp.
Attributes inherited from BaseItem
Instance Attribute Details
#agi_rate ⇒ Object
Returns the value of attribute agi_rate.
23 24 25 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 23 def agi_rate @agi_rate end |
#animation_id ⇒ Object
Returns the value of attribute animation_id.
10 11 12 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 10 def animation_id @animation_id end |
#atk_rate ⇒ Object
Returns the value of attribute atk_rate.
25 26 27 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 25 def atk_rate @atk_rate end |
#auto_release_prob ⇒ Object
Returns the value of attribute auto_release_prob.
31 32 33 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 31 def auto_release_prob @auto_release_prob end |
#auto_removal_timing ⇒ Object
Returns the value of attribute auto_removal_timing.
12 13 14 |
# File 'lib/eidolon/rgss3/rpg/state.rb', line 12 def auto_removal_timing @auto_removal_timing end |
#battle_only ⇒ Object
Returns the value of attribute battle_only.
29 30 31 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 29 def battle_only @battle_only end |
#cant_evade ⇒ Object
Returns the value of attribute cant_evade.
15 16 17 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 15 def cant_evade @cant_evade end |
#cant_get_exp ⇒ Object
Returns the value of attribute cant_get_exp.
14 15 16 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 14 def cant_get_exp @cant_get_exp end |
#chance_by_damage ⇒ Object
Returns the value of attribute chance_by_damage.
15 16 17 |
# File 'lib/eidolon/rgss3/rpg/state.rb', line 15 def chance_by_damage @chance_by_damage end |
#def_rate ⇒ Object
Returns the value of attribute def_rate.
14 15 16 |
# File 'lib/eidolon/rgss2/rpg/state.rb', line 14 def def_rate @def_rate end |
#dex_rate ⇒ Object
Returns the value of attribute dex_rate.
22 23 24 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 22 def dex_rate @dex_rate end |
#element_set ⇒ Object
Returns the value of attribute element_set.
29 30 31 |
# File 'lib/eidolon/rgss2/rpg/state.rb', line 29 def element_set @element_set end |
#eva ⇒ Object
Returns the value of attribute eva.
28 29 30 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 28 def eva @eva end |
#guard_element_set ⇒ Object
Returns the value of attribute guard_element_set.
33 34 35 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 33 def guard_element_set @guard_element_set end |
#hit_rate ⇒ Object
Returns the value of attribute hit_rate.
18 19 20 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 18 def hit_rate @hit_rate end |
#hold_turn ⇒ Object
Returns the value of attribute hold_turn.
30 31 32 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 30 def hold_turn @hold_turn end |
#icon_index ⇒ Object
Returns the value of attribute icon_index.
10 11 12 |
# File 'lib/eidolon/rgss2/rpg/state.rb', line 10 def icon_index @icon_index end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 8 def id @id end |
#int_rate ⇒ Object
Returns the value of attribute int_rate.
24 25 26 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 24 def int_rate @int_rate end |
#max_turns ⇒ Object
Returns the value of attribute max_turns.
14 15 16 |
# File 'lib/eidolon/rgss3/rpg/state.rb', line 14 def max_turns @max_turns end |
#maxhp_rate ⇒ Object
Returns the value of attribute maxhp_rate.
19 20 21 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 19 def maxhp_rate @maxhp_rate end |
#maxsp_rate ⇒ Object
Returns the value of attribute maxsp_rate.
20 21 22 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 20 def maxsp_rate @maxsp_rate end |
#mdef_rate ⇒ Object
Returns the value of attribute mdef_rate.
27 28 29 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 27 def mdef_rate @mdef_rate end |
#message1 ⇒ Object
Returns the value of attribute message1.
25 26 27 |
# File 'lib/eidolon/rgss2/rpg/state.rb', line 25 def @message1 end |
#message2 ⇒ Object
Returns the value of attribute message2.
26 27 28 |
# File 'lib/eidolon/rgss2/rpg/state.rb', line 26 def @message2 end |
#message3 ⇒ Object
Returns the value of attribute message3.
27 28 29 |
# File 'lib/eidolon/rgss2/rpg/state.rb', line 27 def @message3 end |
#message4 ⇒ Object
Returns the value of attribute message4.
28 29 30 |
# File 'lib/eidolon/rgss2/rpg/state.rb', line 28 def @message4 end |
#min_turns ⇒ Object
Returns the value of attribute min_turns.
13 14 15 |
# File 'lib/eidolon/rgss3/rpg/state.rb', line 13 def min_turns @min_turns end |
#minus_state_set ⇒ Object
Returns the value of attribute minus_state_set.
35 36 37 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 35 def minus_state_set @minus_state_set end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 9 def name @name end |
#nonresistance ⇒ Object
Returns the value of attribute nonresistance.
12 13 14 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 12 def nonresistance @nonresistance end |
#note ⇒ Object
Returns the value of attribute note.
31 32 33 |
# File 'lib/eidolon/rgss2/rpg/state.rb', line 31 def note @note end |
#offset_by_opposite ⇒ Object
Returns the value of attribute offset_by_opposite.
18 19 20 |
# File 'lib/eidolon/rgss2/rpg/state.rb', line 18 def offset_by_opposite @offset_by_opposite end |
#pdef_rate ⇒ Object
Returns the value of attribute pdef_rate.
26 27 28 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 26 def pdef_rate @pdef_rate end |
#plus_state_set ⇒ Object
Returns the value of attribute plus_state_set.
34 35 36 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 34 def plus_state_set @plus_state_set end |
#priority ⇒ Object
Returns the value of attribute priority.
12 13 14 |
# File 'lib/eidolon/rgss2/rpg/state.rb', line 12 def priority @priority end |
#rating ⇒ Object
Returns the value of attribute rating.
17 18 19 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 17 def @rating end |
#reduce_hit_ratio ⇒ Object
Returns the value of attribute reduce_hit_ratio.
20 21 22 |
# File 'lib/eidolon/rgss2/rpg/state.rb', line 20 def reduce_hit_ratio @reduce_hit_ratio end |
#release_by_damage ⇒ Object
Returns the value of attribute release_by_damage.
22 23 24 |
# File 'lib/eidolon/rgss2/rpg/state.rb', line 22 def release_by_damage @release_by_damage end |
#remove_at_battle_end ⇒ Object
Returns the value of attribute remove_at_battle_end.
17 18 19 |
# File 'lib/eidolon/rgss3/rpg/state.rb', line 17 def remove_at_battle_end @remove_at_battle_end end |
#remove_by_damage ⇒ Object
Returns the value of attribute remove_by_damage.
16 17 18 |
# File 'lib/eidolon/rgss3/rpg/state.rb', line 16 def remove_by_damage @remove_by_damage end |
#remove_by_restriction ⇒ Object
Returns the value of attribute remove_by_restriction.
18 19 20 |
# File 'lib/eidolon/rgss3/rpg/state.rb', line 18 def remove_by_restriction @remove_by_restriction end |
#remove_by_walking ⇒ Object
Returns the value of attribute remove_by_walking.
19 20 21 |
# File 'lib/eidolon/rgss3/rpg/state.rb', line 19 def remove_by_walking @remove_by_walking end |
#restriction ⇒ Object
Returns the value of attribute restriction.
11 12 13 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 11 def restriction @restriction end |
#shock_release_prob ⇒ Object
Returns the value of attribute shock_release_prob.
32 33 34 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 32 def shock_release_prob @shock_release_prob end |
#slip_damage ⇒ Object
Returns the value of attribute slip_damage.
16 17 18 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 16 def slip_damage @slip_damage end |
#spi_rate ⇒ Object
Returns the value of attribute spi_rate.
15 16 17 |
# File 'lib/eidolon/rgss2/rpg/state.rb', line 15 def spi_rate @spi_rate end |
#state_set ⇒ Object
Returns the value of attribute state_set.
30 31 32 |
# File 'lib/eidolon/rgss2/rpg/state.rb', line 30 def state_set @state_set end |
#steps_to_remove ⇒ Object
Returns the value of attribute steps_to_remove.
20 21 22 |
# File 'lib/eidolon/rgss3/rpg/state.rb', line 20 def steps_to_remove @steps_to_remove end |
#str_rate ⇒ Object
Returns the value of attribute str_rate.
21 22 23 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 21 def str_rate @str_rate end |
#zero_hp ⇒ Object
Returns the value of attribute zero_hp.
13 14 15 |
# File 'lib/eidolon/rgss/rpg/state.rb', line 13 def zero_hp @zero_hp end |