Method: RPG::Skill#initialize
- Defined in:
- lib/rpg/skill.rb
#initialize ⇒ Skill
Returns a new instance of Skill.
3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/rpg/skill.rb', line 3 def initialize super @scope = 1 @stype_id = 1 @mp_cost = 0 @tp_cost = 0 @message1 = '' @message2 = '' @required_wtype_id1 = 0 @required_wtype_id2 = 0 end |