I'm trying to add Remove Trap skill to the SA expanded tree, but for some reason, whenever I add its reqs, it causes the game to crash. It seems like it's a crash related to NeedSkillList not accepting a second parameter. Everything else is ok, when I remove the super novice lines(including commas) from that one skill, I get no error. Otherwise, the game seems to stop loading my character's skill tree once it hits the Remove Trap code, reporting the "bad argument #2, expected number, got nil" lua error, and the game resumes with its incomplete skilltree. Since the skill is used by Hunters skill, I can't change the _NeedSkillList, same with Rogues, I can't remove it from the NeedSkillList. Any thoughts on solving this situation? I think this maybe a syntax issue... but I can't tell.
EDIT: the bad argument error above happens at "c_AddNeedSkillList", and proceeds to happen again once I reload skill_db in-game