go to 0:22, you'll see that the 2nd gfx is a projectile, i was wondering if someone could help me fix that as i've encountered many problems with it. Here's my dfs spec so far:
Code:
public void handleDfs() {
if (System.currentTimeMillis() - c.dfsDelay > 30000) {
if (c.playerIndex > 0 && Server.playerHandler.players[c.playerIndex] != null) {
int damage = Misc.random(15) + 5;
c.startAnimation(6696);
c.gfx0(1165);
if (c.dfsSpec) {
fireProjectilePlayer();
}
Server.playerHandler.players[c.playerIndex].playerLevel[3] -= damage;
Server.playerHandler.players[c.playerIndex].hitDiff2 = damage;
Server.playerHandler.players[c.playerIndex].hitUpdateRequired2 = true;
Server.playerHandler.players[c.playerIndex].updateRequired = true;
c.dfsDelay = System.currentTimeMillis();
} else {
c.sendMessage("I should be in combat before using this.");
}
} else {
c.sendMessage("My shield hasn't finished recharging yet.");
}
}