I need also
|
I need also
Can somebody rename it...
its for staff of light
public int weaponSwapDelay = 0;
public boolean isHalfPowered;
if (playerEquipment[playerWeapon] == 1409 && specialAmount > 99) {
specialAmount -= 100;
weaponSwapDelay = 120;
AttackingOn2.isHalfPowered = true;
lastSpecial = System.currentTimeMillis();
startAnimation(3926);
stillgfx(255, absY, absX);
// Update for the attacking player
updateRequired = true;
appearanceUpdateRequired = true;
// Update for the attacked player
AttackingOn2.updateRequired = true;
AttackingOn2.appearanceUpdateRequired = true;
specOn = false;
actionInterval = getbattleTimer();
lastAction = System.currentTimeMillis();
}
/**
* Staff of light.
*/
if (weaponSwapDelay > 0) {
weaponSwapDelay -= 1;
}
if (weaponSwapDelay > 0 && playerEquipment[playerWeapon] != 1409) {
client attack = server.playerHandler.players[AttackingOn];
attack.HowLongTheSpecLasts = 0;
weaponSwapDelay = 0;
}
if (isHalfPowered) {
HowLongTheSpecLasts = 120;
}
if(HowLongTheSpecLasts > 0) {
HowLongTheSpecLasts -= 1;
hitDiff = hitDiff/2;
}
if (HowLongTheSpecLasts == 0) {
isHalfPowered = false;
// hitDiff = hitDiff;
// Makes no sense? It's just like 0 = 0 or random = random
}
Do you have shields?
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |