Okay, we all knew delta's veng sucks and didn't have any effect so i made a new one.
This still has a bug that if you veng and someone attacks you, you will get logged out.. but maybe somebody know how to fix it.
Oke go to clickingmost.java and search for your veng case replace it with this:
Code:
client AttackingOn2 = (client) server.playerHandler.players[c.AttackingOn];
if(c.q10 != 15){
c.sM("You must have completed Lunar Spirit to use this spell.");
}
if(System.currentTimeMillis() - c.vengDelay < 30000){
c.sM("You can only cast vengeance spells every 30 seconds.");
return;
}
if(c.playerLevel[6] < 94){
c.sM("You need a magic level of 94 or better to cast this spell.");
}
if (!c.HasItemAmount(553, 4) || !c.HasItemAmount(560, 2) || !c.HasItemAmount(557, 10)) {
c.sM("You don't have enough runes to cast this spell.");
c.sM("You need 4 astral rune, 2 death rune and 2 earth runes!");
} else
if (c.HasItemAmount(553, 4) && c.HasItemAmount(560, 2) && c.HasItemAmount(557, 10) && c.playerLevel[6] > 93 && c.q8 == 15){
c.vengDelay = System.currentTimeMillis();
c.specGFX(657);
c.setAnimation(100);
c.deleteItem(553, 4);
c.deleteItem(560, 2);
c.deleteItem(557, 10);
c.addSkillXP(500, 6);
c.toX = c.absX;
c.toY = c.absY;
c.vengTimer= 1;
}
Now go to client.java and add :
Code:
public int vengTimer = 0;
Now go to your process inside client.java and add this right under it:
Code:
if(vengTimer == 1 && inCombat){
PlayerHandler.players[AttackingOn].hitDiff = (int)(hitDiff * .75); // Simple math, 100 divided by 1.30, and you get 76.
PlayerHandler.players[AttackingOn].currentHealth -= (int)(hitDiff * .75);
refreshHP();
PlayerHandler.players[AttackingOn].hitUpdateRequired = true; // So the hit will append to you.
PlayerHandler.players[AttackingOn].updateRequired = true; // So the hit will append to you.
PlayerHandler.players[AttackingOn].appearanceUpdateRequired = true; // So the hit will append to you.
vengon = false;
vengTimer = 0;
plrText = "Taste vengeance!"; // This says it in itself.
plrTextUpdateRequired = true; // Make sure the txt4 will update.
toX = absX;
toY = absY;
}
if(System.currentTimeMillis() - vengDelay == 20000){
PlayerHandler.players[AttackingOn].hitDiff = (int)(hitDiff * .75);
PlayerHandler.players[AttackingOn].currentHealth -= (int)(hitDiff * .75);
refreshHP();
PlayerHandler.players[AttackingOn].hitUpdateRequired = true;
PlayerHandler.players[AttackingOn].updateRequired = true; // So the hit will append to you.
PlayerHandler.players[AttackingOn].appearanceUpdateRequired = true;
vengon = false;
vengTimer = 0;
plrText = "Taste vengeance!"; // This says it in itself.
plrTextUpdateRequired = true; // Make sure the txt4 will update.
toX = absX;
toY = absY;
}
If you don't like it don't post.
How it works: When you veng it won't say Taste Vengeace but wait till you will attack someone, after you fight someone for 10 secs it will veng again.
This is v1 so maybe v2 will be bether