Hello guys, today I noticed that in InsidiaX, the mining emote is for rune pickaxee and it doesn't matter what pickaxe you have.
And now, we're gonna fix that.
1.Open up Mining.java and find this:
Code:
private final int EMOTE = 624;
Change it to:
2. Find:
Code:
public void startMining(int oreType, int levelReq, int exp) {
And add this under it:
Code:
if (c.playerEquipment[c.playerWeapon] == 13661) {//inferno adze
EMOTE = 10222;
} else if (c.playerEquipment[c.playerWeapon] == 15259) {//dragon
EMOTE = 12169;
} else if (c.playerEquipment[c.playerWeapon] == 1265) {//bronze
EMOTE = 6747;
} else if (c.playerEquipment[c.playerWeapon] == 1267) {//iron
EMOTE = 6748;
} else if (c.playerEquipment[c.playerWeapon] == 1269) {//steel
EMOTE = 6749;
} else if (c.playerEquipment[c.playerWeapon] == 1273) {//mithril
EMOTE = 6751;
} else if (c.playerEquipment[c.playerWeapon] == 1271) {//Adamant
EMOTE = 6750;
} else if (c.playerEquipment[c.playerWeapon] == 1275) {//rune
EMOTE = 6746;
}
This includes inferno adze and dragon pickaxe, to add it make comma 13661 and comma 15259after:
Code:
private final int VALID_PICK[] = {1265,1267,1269,1273,1271,1275(,13661,15259 here)};
And comma 61 and comma 71 behind:
Code:
private final int[] PICK_REQS = {1,1,6,21,31,41(,61,71 here)};
Congratz, you now have the correct emotes for Mining!
I don't want credits as it's so simple.
Thanks is appreciated anyways.
NOTE
on't flame, it's my first tut.