sherlockholmes Posted December 21, 2010 Posted December 21, 2010 impro++; switch(impro){ case 5: ExShowScreenMessage case5 = new ExShowScreenMessage("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; I know how I can do to that in this system to collect 5 consecutive kills to activate a skill on the char that gets????
0 sherlockholmes Posted December 21, 2010 Author Posted December 21, 2010 if it is I'm wondering how I can adapt what I want in this way. You can add that to get those amount of kills you to activate a skill player?
0 Versus Posted December 21, 2010 Posted December 21, 2010 Use addSkill method (exists on L2PcInstance).
Question
sherlockholmes
impro++;
switch(impro){
case 5:
ExShowScreenMessage case5 = new ExShowScreenMessage("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;
I know how I can do to that in this system to collect 5 consecutive kills to activate a skill on the char that gets????
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now