You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
WWW.L2MADPVP.COM
SERVER INFORMATION & RATES
» Chronicle: Interlude
» Type: PVP Server
» Main Town: Giran
» Instant: Lv 80
» Exp/SP: x1200
» Drop: Custom
» Epic RB Jewel Drop: x1 (Most Damage)
» Safe Enchant: +3
» Max Blessed Enchant: +14
» Max Crystal Enchant: +16
» Normal Scroll Chance: 65% (+0 to +14)
» Blessed Scroll Chance: 100% (+0 to +14)
» Crystal Scroll Chance: 50% (+14 to +16) | Fail = Same enchant
» Custom Scroll Chance: 100% (+0 to +16)
» Custom Scroll Chance: 95% (+16 to +17)
» Custom Scroll Chance: 90% (+17 to +18)
» Custom Scroll Chance: 85% (+18 to +19)
» Custom Scroll Chance: 80% (+19 to +20)
If you enchantment fails, it will remain at your previous enchant.
Example: If you enchant from +19 to +20 and it fails, it will become +19
» Max Augment Skills: 1 Active + 1 Passive
Question
panathinaikara
hey i have a java code problem and i cant fix it... it is a code for killing spree reward...
* Increase the pvp kills count and send the info to the player
*
*/
private int impro = 0;
public void increasePvpKills()
{
impro++;
switch(impro){
case 5:
ShowMessage case5 = new showMessage("You reached 5 killing spree!", 10000);
sendPacket(case5);
Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 5 kill in a row!");
addItem("Loot", 57, 100, this, true);
break;
case 10:
showMessage case10 = new showMessage("You reached 10 killing spree!", 10000);
sendPacket(case10);
Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 10 kill in a row!");
addItem("Loot", 57, 100, this, true);
break;
case 15:
ExShowScreenMessage case15 = new showMessage("You reached 15 killing spree!", 10000);
sendPacket(case15);
Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 15 kill in a row!");
addItem("Loot", 57, 100, this, true);
break;
case 20:
showMessage case20 = new showMessage("You reached 20 killing spree!", 10000);
sendPacket(case20);
Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 20 kill in a row!");
addItem("Loot", 57, 100, this, true);
break;
case 25:
showMessage case25 = new showMessage("You reached 25 killing spree!", 10000);
sendPacket(case25);
Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 25 kill in a row!");
addItem("Loot", 57, 100, this, true);
break;
case 30:
showMessage case30 = new showMessage("You reached 30 killing spree!", 10000);
sendPacket(case30);
Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 30 kill in a row!");
addItem("Loot", 57, 100, this, true);
break;
default:
;
}
if ((TvT._started && _inEventTvT) || (DM._started && _inEventDM) || (VIP._started && _inEventVIP) || (CTF._started && _inEventCTF))
return;
// temp fix here
if (isMounted())
dismount();
impro = 0;
if (isTransformed() && !isCursedWeaponEquipped())
{
if (target instanceof L2PcInstance
&& AntiFeedManager.getInstance().check(this, target))
// Add karma to attacker and increase its PK counter
setPvpKills(getPvpKills() + 1);
// Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
sendPacket(new UserInfo(this));
sendPacket(new ExBrExtraUserInfo(this));
there are some problems and i cant add the code in my server because i cant fix them... can any1 help me? thanks...
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.