Class: RPG::State
Instance Attribute Summary collapse
-
#auto_removal_timing ⇒ Object
Returns the value of attribute auto_removal_timing.
-
#chance_by_damage ⇒ Object
Returns the value of attribute chance_by_damage.
-
#max_turns ⇒ Object
Returns the value of attribute max_turns.
-
#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.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#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.
-
#steps_to_remove ⇒ Object
Returns the value of attribute steps_to_remove.
Attributes inherited from BaseItem
#description, #features, #icon_index, #id, #name, #note
Instance Method Summary collapse
-
#initialize ⇒ State
constructor
A new instance of State.
Constructor Details
#initialize ⇒ State
Returns a new instance of State.
918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 |
# File 'lib/R3EXS/RGSS3.rb', line 918 def initialize super @restriction = 0 @priority = 50 @remove_at_battle_end = false @remove_by_restriction = false @auto_removal_timing = 0 @min_turns = 1 @max_turns = 1 @remove_by_damage = false @chance_by_damage = 100 @remove_by_walking = false @steps_to_remove = 100 @message1 = '' @message2 = '' @message3 = '' @message4 = '' end |
Instance Attribute Details
#auto_removal_timing ⇒ Object
Returns the value of attribute auto_removal_timing.
941 942 943 |
# File 'lib/R3EXS/RGSS3.rb', line 941 def auto_removal_timing @auto_removal_timing end |
#chance_by_damage ⇒ Object
Returns the value of attribute chance_by_damage.
945 946 947 |
# File 'lib/R3EXS/RGSS3.rb', line 945 def chance_by_damage @chance_by_damage end |
#max_turns ⇒ Object
Returns the value of attribute max_turns.
943 944 945 |
# File 'lib/R3EXS/RGSS3.rb', line 943 def max_turns @max_turns end |
#message1 ⇒ Object
Returns the value of attribute message1.
948 949 950 |
# File 'lib/R3EXS/RGSS3.rb', line 948 def @message1 end |
#message2 ⇒ Object
Returns the value of attribute message2.
949 950 951 |
# File 'lib/R3EXS/RGSS3.rb', line 949 def @message2 end |
#message3 ⇒ Object
Returns the value of attribute message3.
950 951 952 |
# File 'lib/R3EXS/RGSS3.rb', line 950 def @message3 end |
#message4 ⇒ Object
Returns the value of attribute message4.
951 952 953 |
# File 'lib/R3EXS/RGSS3.rb', line 951 def @message4 end |
#min_turns ⇒ Object
Returns the value of attribute min_turns.
942 943 944 |
# File 'lib/R3EXS/RGSS3.rb', line 942 def min_turns @min_turns end |
#priority ⇒ Object
Returns the value of attribute priority.
938 939 940 |
# File 'lib/R3EXS/RGSS3.rb', line 938 def priority @priority end |
#remove_at_battle_end ⇒ Object
Returns the value of attribute remove_at_battle_end.
939 940 941 |
# File 'lib/R3EXS/RGSS3.rb', line 939 def remove_at_battle_end @remove_at_battle_end end |
#remove_by_damage ⇒ Object
Returns the value of attribute remove_by_damage.
944 945 946 |
# File 'lib/R3EXS/RGSS3.rb', line 944 def remove_by_damage @remove_by_damage end |
#remove_by_restriction ⇒ Object
Returns the value of attribute remove_by_restriction.
940 941 942 |
# File 'lib/R3EXS/RGSS3.rb', line 940 def remove_by_restriction @remove_by_restriction end |
#remove_by_walking ⇒ Object
Returns the value of attribute remove_by_walking.
946 947 948 |
# File 'lib/R3EXS/RGSS3.rb', line 946 def remove_by_walking @remove_by_walking end |
#restriction ⇒ Object
Returns the value of attribute restriction.
937 938 939 |
# File 'lib/R3EXS/RGSS3.rb', line 937 def restriction @restriction end |
#steps_to_remove ⇒ Object
Returns the value of attribute steps_to_remove.
947 948 949 |
# File 'lib/R3EXS/RGSS3.rb', line 947 def steps_to_remove @steps_to_remove end |