class Mind

Public Class Methods

percent() click to toggle source

@brief returns the percentage of your character's mind

@return Fixnum

# File lib/Olib/character/mind.rb, line 35
def Mind.percent
  percentmind
end
rest!(state=Mind.states.saturated) click to toggle source

@brief returns you to your current origin and waits

until your mind is rested

@param state The state

@return nil

# File lib/Olib/character/mind.rb, line 66
def Mind.rest!(state=Mind.states.saturated)
  Go2.origin
  wait_until { Mind.state != state }
end
state() click to toggle source

@brief alias for Lich checkmind method

@return String

# File lib/Olib/character/mind.rb, line 27
def Mind.state
  checkmind
end
states() click to toggle source

@brief access the states

@return OpenStruct

# File lib/Olib/character/mind.rb, line 19
def Mind.states
  @@states
end