Forums

Old School RuneScape Anyone?

Quick find code: 294-295-158-64458191

[#56L2FG8BA]

[#56L2FG8BA]

Posts: 15 Bronze Posts by user Forum Profile RuneMetrics Profile
Here how the ely and divine effect are do enjoy:

public void dealDamage(int damage) {
if(playerEquipment[playerShield] == 13740) { // Divine Spirit Shield Effect
if(prayerPoint > 0) {
double damageRecieved = damage * 0.7;
int prayerLost = (int) (damage * 0.5);
if(prayerPoint >= prayerLost) {
damage = (int) damageRecieved;
prayerPoint -= prayerLost;
if(prayerPoint < 0)
prayerPoint = 0;
}
}
}
if(playerEquipment[playerShield] == 15026) { // Elysian Spirit Shield Effect
if(Misc.random(9) <= 6) {
damage *= 0.75;
}
}
if (teleTimer <= 0)
playerLevel[3] -= damage;
else {
if (hitUpdateRequired)
hitUpdateRequired = false;
if (hitUpdateRequired2)
hitUpdateRequired2 = false;
}

}

14-Feb-2013 23:24:30

Alopex

Alopex

Posts: 251 Silver Posts by user Forum Profile RuneMetrics Profile
The ONLY thing I'm worried about is the discontinued items. Believe it or not, they play a big part in the Runescape economy (2007 or 2013). Think of some way to bring them in, and make them just as rare as they were then/now.

14-Feb-2013 23:25:23

Quick find code: 294-295-158-64458191 Back to Top