Bleh. It looks like I have a learning offset crash. I just put together on all six main characters all of the appropriate learning levels for each element.
Some of them have a learning curve of -1(this is especially important for my shadow character) while most have positive curves. I made sure to put together all tags properly. But I suspect it has something to do with curves because when I went to test play, I get this error:
Line 257 Undefined method nil:NilClass.
Line 257 is a learning curve/offset area:
@learning_offset.each_value {|val| val += $1.to_i}
else
257 --- @learning_offset[school] += $1.to_i
end
when DPS::REGEX::SET_OFFSET
And here is a sample Actor with some Element growth tags:
<SCHOOL: water>
<OFFSET: water>
<ADD: -4>
<SET CURVE: -1>
</OFFSET>
<SCHOOL: ice>
<SCHOOL: fire>
<OFFSET: fire>
<ADD: 12>
<SET CURVE: 3>
</OFFSET>
<SCHOOL: special>
<OFFSET: special>
<ADD: 12>
<SET CURVE: 2>
</OFFSET>
Interesting - that line deals with adding the offset for a single school, but should only throw an error like that if the school doesn't exist in the BASE_OFFSET Hash. Is :special => 0 defined in the Hash?
Since this seems to be an ongoing source of problems I'll try to find a better way of defining the elements in the Hash - maybe by pulling them from the Elements table in Terms. Sorry about that ><;
This one works with no crashes. But does this mean you are going to remove the feature for changing level up speed for elements?
No, everything is the same except for the individual base offsets for specific elements. Essentially, this just means that more focus is on the notetags rather than the config in the script - which I think was already the case. All the functionality is still the same ^^.
OH! My fault. I somehow duplicated the script at the very top of the script editor where it doesn't belong. After I deleted the duplicate script, it went through again fine.
However, there is no progression for any of the magic levels, still. So everything stays at level 1 and there is no difference shown either for any of the elements per character. Everything is just flat. Whatever you changed, it seems to not read levels. When I had to adjust for the elements in the script and the note tags and in the element terms, everything worked alright then. Minus that one crash I was having regarding offsets. I didn't mind doing the work at all. If it keeps the script working right, I'm fine with putting in the effort to adjust for what was desired in my set up.
Yes! This is it. It's working. I'm pretty sure that I copied the last one right because every link you send me I definitely copy and paste. I then restart rpgmaker to ensure that it loads up current additions. But this one is finally working thank you!
If there was one final tag I'd add though, it would be a tag to exclude certain skills from leveling up. It would be misleading to have a skill that does something like add a state, levels up but there is no change to anything at all.