removed hope ur happy
(dont be silly java it, grow up
purpose: Making the kq queen
difficulty: 4/10
assumed knowledge: search , copy and paste , and now what files are called
server base: project ceramony
classed modified:autospawn.CFG and NPChandler.JAVA
procedure:
add this in auto spawn
Code:
//spawn = 1158 3489 9513 0 3490 9514 3489 9513 2 KalphiteQueen
now under
Code:
public class NPCHandler {
add
Code:
public static int KQReset = 0;
under
Code:
} else if (npcs[i].npcType == 1590) {
npcs[i].animNumber = 92; //bronze dragon
add
Code:
} else if (npcs[i].npcType == 1158) {
gfxAll(310, 3488, 9515);
gfxAll(310, 3488, 9516);
gfxAll(310, 3487, 9516);
gfxAll(310, 3487, 9515);
gfxAll(310, 3487, 9514);
gfxAll(310, 3488, 9514);
gfxAll(310, 3489, 9514);
gfxAll(310, 3489, 9515);
gfxAll(310, 3489, 9516);
newBeast(1160, 3488, 9515, 0, 3488, 9515, 3488, 9515, 2, 2000, false); //KQ stage 2
and
Code:
} else if (npcs[i].npcType == 1160) {
KQReset = 0;
} else if (KQReset == 0) {
KQReset = 1;
gfxAll(310, 3488, 9515);
gfxAll(310, 3488, 9516);
gfxAll(310, 3487, 9516);
gfxAll(310, 3487, 9515);
gfxAll(310, 3487, 9514);
gfxAll(310, 3488, 9514);
gfxAll(310, 3489, 9514);
gfxAll(310, 3489, 9515);
gfxAll(310, 3489, 9516);
newBeast(1158, 3488, 9515, 0, 3488, 9515, 3488, 9515, 2, 2000, false); //KQ stage 1
} else if (npcs[i].npcType == 1592) {
above
Code:
if(npcs[NPCID].npcType == 1615)
{
ItemHandler.addItem(Item2.randomAbyssal(), npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
ItemHandler.addItem(592, npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
}
add
Code:
if(npcs[NPCID].npcType == 1160)
{
ItemHandler.addItem(Item2.randomKQ(), npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
}
under
Code:
} else if (npcs[NPCID].npcType == 1592) {
npcs[NPCID].animNumber = 80; //Dragon
add
Code:
} else if (npcs[NPCID].npcType == 1158) {
hitDiff = misc.random(40); //KQ attack
save,compile and run
wala