So recently, I was roaming around these forums, and I saw a pretty nice script made by Blizzard where it was possible to bypass the level 99 cap.
It works perfectly and I am in love with it and the maker, but I've been wondering how I could add on level requirements for skills above level 99.
In the database, one is not allowed to make a skill require a higher level than 99, but in the script, it doesn't seem to support skill requirements.
Is there is something I am missing?
Thank you very much.
Edit: Here is the link to the thread I am referring to: http://forum.chaos-project.com/index.php/topic,5563.0.html
Hm, I guess I could add that.
Does that take a lot of work? I wouldn't want to bother you if it takes up a large portion of your time.
In the mean time, you could try this. Should work, haven't tested it, lemme know if it does/doesn't.
=begin
LEARNINGS = {
CLASS_ID => [
[skill_id, level_requirement],
[skill_id, level_requirement],
],
}
=end
LEARNINGS = {
# Fighter
1 => [
[57, 135],
],
# Lancer
2 => [
[60, 117],
[61, 123],
],
}
module RPG
class Class
def learnings
class_learns = LEARNINGS[@id] == nil ? [] : LEARNINGS[@id]
learnings = @learnings.clone
class_learns.each { |array|
learning = Learning.new
learning.level = array[1]
learning.skill_id = array[0]
learnings.push(learning)
}
return learnings
end
end
end
Actually gameus basically already implemented it, lol! I was just thinking that it might be really something that should be part of the original script.
Thanks for this. I really appreciate your help :)