• Log in or sign up for an account here: https://www.sythe.org/login

c-bow effect

  • Thread starter Thread starter pk3r kyle
  • Start date Start date
P

pk3r kyle

Guest
Purpose: make your cbow shoot an arrow instead of nothing

Difficulty: 1/10

Assumed Knowledge: Searching, and editing

Server Base: shockscape

Classes Modified: cilent.java

Step 1: In cilent.java search for

Code:
if(playerEquipment[playerWeapon] == 4214

It should look like


Code:
if(playerEquipment[playerWeapon] == 4214 || playerEquipment[playerWeapon] == 859 || playerEquipment[playerWeapon] == 861)
{
return 426;
}

or

Code:
if(playerEquipment[playerWeapon] == 4214 || playerEquipment[playerWeapon] == 859 || playerEquipment[playerWeapon] == 861)//bows
{
return 426;
}

Replace with

Code:
if(playerEquipment[playerWeapon] == 4214 || playerEquipment[playerWeapon] == 859 || playerEquipment[playerWeapon] == 861) //bows
{
staticAnimation(250, absX, absY, 100);	//Crystal bow with arrows
return 426;
}

or

Code:
if(playerEquipment[playerWeapon] == 4214 || playerEquipment[playerWeapo.n] == 859 || playerEquipment[playerWeapon] == 861) 
{
staticAnimation(250, absX, absY, 100);	//Crystal bow with arrows
return 426;
}

then under
Code:
case 73: //Attack (Wilderness)

add

Code:
createProjectile(absY, absX, 0, 3, 50, 160, SpellIDGoesHere, 43, 31, 0); above  setAnimation(426);[/i]


Note: this is now anti leech


Pics:
cbow2.jpg

1.jpg
 

Similar threads

Runescape Gamblingrunescape gambling
Back
Top