I was testing my game that'll sure be world famous when the game crased upon using a skill:

I've tried several times and It always crashed. I've changed the skill several times, but the crashing remained.
The error msg:

That specific line:
I don't know if it helps, but I've printed out the param_id variable and It was 7 when It crashed.
Any idea how to fix it?

I've tried several times and It always crashed. I've changed the skill several times, but the crashing remained.
The error msg:

That specific line:
Code:
value = param_base(param_id) + param_plus(param_id)
I don't know if it helps, but I've printed out the param_id variable and It was 7 when It crashed.
Any idea how to fix it?