Okay, yeah, I'm trying to add the npc loading from sql to rs2hd...
Got everything done, but I'm not sure what the equivalent to these are:
Code:
Engine.npcLists[npcType] = new NPCList(npcType, name, examine, cbLevel, maxHP, maxHit, atkType, weakness, spawnTime);
The Engine.npcLists..
Code:
Engine.newNPC(sql.getInt("npcId"), sql.getInt("absx"), sql.getInt("absy"), sql.getInt("height"),
sql.getInt("absx2"), sql.getInt("absy2"), sql.getInt("absx3"), sql.getInt("absy3"), true);
Ok, they are all really quite similar, if you tell me how one of them is I'm sure I can get the rest.
I think it should have something to do with NPC.getDefinition? Just don't know how to implement it..
Just give me a hint.