lol123453
July 12th, 2010, 05:16
First off i just wanna thank you all for looking at this,
Base tested on: Delta
First off under
public class client extends Player implements Runnable {
Put this.
public boolean DCDamg = false;
public int DCdown = 0;
Now search for
if(playerEquipment[playerWeapon] == 2402 && specialAmount > 49){
Directly under the last bracket of that code put this.
if(playerEquipment[playerWeapon] == %%%% && specialAmount > 49){
specialAmount -= 50;
dclaws = 3;
lastAction = System.currentTimeMillis();
hitDiff = misc.random(playerMaxHit);
startAnimation(6000);
specOn = false;
}
Replace the %%%% with your Dragon claws id,
Now search this agian
if(playerEquipment[playerWeapon] == 5698 && specialAmount > 24){
And under that last bracket put this,
if(playerEquipment[playerWeapon] == 8002 && specialAmount > 49){
specialAtkNPC(true, 50, 282, 2068);
DCdown = 4;
DCDamg = true;
npcDamage(8);
}
Now search this
if(playerEquipment[playerWeapon] == 1434 && specialAmount > 24){
And put this under it.
if(playerEquipment[playerWeapon] == 8002 && specialAmount > 49){
specialAtkNPC(true, 50, 282, 2068);
DCdown = 4;
DCDamg = true;
npcDamage(8);
}
Now search
public boolean process() {
And under that post this,
if ((IsAttackingNPC) && DCDamg == true ) {
if (DCdown == 2 ) {
startAnimation(6000);
}
SpecDamgNPC(30);
DCdown -= 1;
if (DCdown == 0 ) {
DCDamg = false;
}
}
if (IsAttacking == true && DCDamg == true ) {
if (DCdown == 2 ) {
startAnimation(6000);
}
SpecDamg(25);
DCdown -= 1;
if (DCdown == 0 ) {
DCDamg = false;
}
}
Since I'm nice ill tell you how to add it in spec.java
Now save and close client.java
Now open Special.java
and search for this :
case 5698:
And under that put
case 8002:
Replace 8002 with your claw's id.
and search for this :
case 5698:
case 8002:
Thanks do not leach-
-dillan-
Base tested on: Delta
First off under
public class client extends Player implements Runnable {
Put this.
public boolean DCDamg = false;
public int DCdown = 0;
Now search for
if(playerEquipment[playerWeapon] == 2402 && specialAmount > 49){
Directly under the last bracket of that code put this.
if(playerEquipment[playerWeapon] == %%%% && specialAmount > 49){
specialAmount -= 50;
dclaws = 3;
lastAction = System.currentTimeMillis();
hitDiff = misc.random(playerMaxHit);
startAnimation(6000);
specOn = false;
}
Replace the %%%% with your Dragon claws id,
Now search this agian
if(playerEquipment[playerWeapon] == 5698 && specialAmount > 24){
And under that last bracket put this,
if(playerEquipment[playerWeapon] == 8002 && specialAmount > 49){
specialAtkNPC(true, 50, 282, 2068);
DCdown = 4;
DCDamg = true;
npcDamage(8);
}
Now search this
if(playerEquipment[playerWeapon] == 1434 && specialAmount > 24){
And put this under it.
if(playerEquipment[playerWeapon] == 8002 && specialAmount > 49){
specialAtkNPC(true, 50, 282, 2068);
DCdown = 4;
DCDamg = true;
npcDamage(8);
}
Now search
public boolean process() {
And under that post this,
if ((IsAttackingNPC) && DCDamg == true ) {
if (DCdown == 2 ) {
startAnimation(6000);
}
SpecDamgNPC(30);
DCdown -= 1;
if (DCdown == 0 ) {
DCDamg = false;
}
}
if (IsAttacking == true && DCDamg == true ) {
if (DCdown == 2 ) {
startAnimation(6000);
}
SpecDamg(25);
DCdown -= 1;
if (DCdown == 0 ) {
DCDamg = false;
}
}
Since I'm nice ill tell you how to add it in spec.java
Now save and close client.java
Now open Special.java
and search for this :
case 5698:
And under that put
case 8002:
Replace 8002 with your claw's id.
and search for this :
case 5698:
case 8002:
Thanks do not leach-
-dillan-