Alright i have added my projectile GFX in the correct spots etc it shoots out of the crossbow, but when it does it does it "jaggidly" it doesnt go straight.
I also had this problem with dark bow double arrows, if i could get a little help on why i cant get the gfx to go straight instead of jaggidly moving, i am offering 5$ for someone who can fix this simple problem.
I will do teamview..
My msn: [email protected]
My temporary projectile method on npcs
Code:
public void fireProjectileNpc() {
if(c.oldNpcIndex > 0) {
if(Server.npcHandler.npcs[c.oldNpcIndex] != null) {
c.projectileStage = 2;
int pX = c.getX();
int pY = c.getY();
int nX = Server.npcHandler.npcs[c.oldNpcIndex].getX();
int nY = Server.npcHandler.npcs[c.oldNpcIndex].getY();
int offX = (pY - nY)* -1;
int offY = (pX - nX)* -1;
c.getPA().createPlayersProjectile(pX, pY, offX, offY, 50, getProjectileSpeed(), getRangeProjectileGFX(), (c.playerEquipment[c.playerWeapon]==9056?31:43), 31, c.oldNpcIndex + 1, getProjectileShowDelay());
}
}
}