# if you want a default class description for those not defined, replace the
# below array with a description like those above.
return ['']
end
# This is where you set the requirement for each class. Use the following format
#
# when class_id then return [0,class1's required level,class2's required level,...]
#
# where class_id is the ID of the class that you want to have a requirement,
# 0 is a dummy entry, and"class1's required level, etc. are how many levels needed
# in that class to unlock the class
#
# REMEMBER TO SET THIS UP FOR YOUR OWN PROJECT! IF YOU HAVE MORE ENTRIES IN THE
# ARRAY THAN CLASSES IN THE DATABASE (and the dummy 0 at the beginning, of course)\
# YOU WILL GET AN ERROR!
def self.class_requirements(class_id)
case class_id
#to make a class have no requirements (unlocked by default), just don't
#define requirements for it.
when 1 then return [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
when 2 then return [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
when 3 then return [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
when 4 then return [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
when 5 then return [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
#Requirement for Knight: 10 Swordsmen
when 6 then return [10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
#Requirement for Warrior
when 7 then return [10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
#Requirement for Monk
when 8 then return [10,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0]
#Requirement for Mage
when 9 then return [0,15,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
#Requirement for Summoner
when 10 then return [0,10,0,5,0,0,0,0,0,0,0,0,0,0,0,0]
#Requirement for Assassin
when 11 then return [0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0]
#Requirement for Thief
when 12 then return [0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0]
#Requirement for Cleric
when 13 then return [0,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0]
#Requirement for Paladin
when 14 then return [7,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0]
#Requirement for Sniper
when 15 then return [0,0,8,0,7,0,0,0,0,0,0,0,0,0,0,0]
#Requirement for Hunter
when 16 then return [0,0,0,0,15,0,0,0,0,0,0,0,0,0,0,0]
end
return