Skip to content

Instantly share code, notes, and snippets.

@jspillers
Created March 11, 2010 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jspillers/329350 to your computer and use it in GitHub Desktop.
Save jspillers/329350 to your computer and use it in GitHub Desktop.
module SensoryExtension
def feel_sludge?
unless self.feel.empty?
self.feel.unit == RubyWarrior::Units::Sludge || self.feel.unit == RubyWarrior::Units::ThickSludge
end
end
def feel_archer?
unless self.feel.empty?
self.feel.unit == RubyWarrior::Units::Archer
end
end
def feel_wizard?
unless self.feel.empty?
self.feel.unit == RubyWarrior::Units::Wizard
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment