Method: RPG::State#initialize

Defined in:
lib/rgss3/rpg.rb

#initializeState

Returns a new instance of State.



708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
# File 'lib/rgss3/rpg.rb', line 708

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