
Originally Posted by
disco donnie
Weirdly enough i had already done that, decided to try and replace my magic classes with the ones from this project but no luck it seems.
Regardless thanks again, there's lots of stuff in here i was dreading doing because its just so tedious. Deff saved me from writing 200+ items configurations lmao
For me the issue came from MagicData.java. It had two Wind Strikes allowing making every spell after wind strike have +1 added to its ID
public final static int[][] MAGIC_SPELLS = {
Looked something like
Code:
{ 1152, 1, 711, 90, 91, 92, 2, 5, 556, 1, 558, 1, 0, 0, 0, 0 }, // wind strike
{1152, 1, 711, 90, 91, 92, 2, 5, 556, 1, 558, 1, 0, 0, 0, 0 }, // wind strike
{ 1154, 5, 711, 93, 94, 95, 4, 7, 555, 1, 556, 1, 558, 1, 0, 0 }, // water strike
{ 1156, 9, 711, 96, 97, 98, 6, 9, 557, 2, 556, 1, 558, 1, 0, 0 }, // earth strike
To fix it I removed the first line shown to result in the following
Code:
{ 1152, 1, 711, 90, 91, 92, 2, 5, 556, 1, 558, 1, 0, 0, 0, 0 }, // wind strike
{ 1154, 5, 711, 93, 94, 95, 4, 7, 555, 1, 556, 1, 558, 1, 0, 0 }, // water strike
{ 1156, 9, 711, 96, 97, 98, 6, 9, 557, 2, 556, 1, 558, 1, 0, 0 }, // earth strike