Files modified : Client.java , Item.cfg
Difficulty : 2/10
Method :
Step 1
Go to item.cfg,most of the time located in the CFG file.Ok,scroll down to the bottom,add this to it :
item = 15156 Dark_bow Strong_bow 125000 82 82 82 82 82 82 82 82 82 82 82 95 95
(You can change the bonus's to your own satisfaction
Step 2 :
Go to client.java,search for a bow that already shoots,like a crystal bow or a mage short :
Example,for a mage short you would search for :
if(playerEquipment[playerWeapon] == 861)
{
PkingDelay = 15;
wepdelay = 15;
UseBow = true;
}
For a crystal bow,you would search for :
if(playerEquipment[playerWeapon] == 4214)
{
PkingDelay = 15;
wepdelay = 15;
UseBow = true;
}
When you've found them,add this under every one of them you find :
if(playerEquipment[playerWeapon] == 15156)
{
PkingDelay = 15;
wepdelay = 15;
UseBow = true;
}
Then search :
if (GoodDistance(EnemyX, EnemyY, absX, absY, 1) == true
Press enter once and copy this into it :
playerEquipment[playerWeapon] == 15156 || playerEquipment[playerWeapon] == 861 ||
Then depending on what bow works for you server,search this :
playerEquipment[playerWeapon] == #### || playerEquipment[playerWeapon] == #### ||
Where the #'s are put the id of two of the bows that work on your server.
When you've found one of them,repeat the step above to add the bows correctly.
Explanation :
When you put the
if(playerEquipment[playerWeapon] == 15156)
{
PkingDelay = 15;
wepdelay = 15;
UseBow = true;
}
Underneath the rest,it means that you are declaring it as a bow.
playerEquipment[playerWeapon] == 15156 || playerEquipment[playerWeapon] == 861 ||
Means that you are again,delclaring it a bow,basically.
Thank You For Supporting The Guide On How To Make Your Darkbow Shoot Or So Whatever
[/img][/img][/img][/img]