PDA

View Full Version : [PI] Smarter Pure Command



Uncalled
June 3rd, 2011, 09:11
if (playerCommand.equalsIgnoreCase("pure")) {
for (int i = 0; i < 7; i++) {
c.getPA().addSkillXP(14000000, i);
c.playerLevel[5] = 1;
c.playerXP[5] = c.getPA().getXPForLevel(1);
c.getPA().refreshSkill(5);
c.playerLevel[1] = 1;
c.playerXP[1] = c.getPA().getXPForLevel(1);
c.getPA().refreshSkill(1);
}
c.getPA().requestUpdates();
}
It does the same thing as the other common pure command, just with better codes; smarter codes.

Fearless Aryan
June 18th, 2011, 08:34
worked on my PI base thank you very much :].....
don't suppose you could quick edit that and make me a master command and message to me please?

Nouish
June 18th, 2011, 12:35
if (playerCommand.equalsIgnoreCase("pure")) {
for (int i = 0; i < 7; i++) {
c.getPA().addSkillXP(14000000, i);
c.playerLevel[5] = 1;
c.playerXP[5] = c.getPA().getXPForLevel(1);
c.getPA().refreshSkill(5);
c.playerLevel[1] = 1;
c.playerXP[1] = c.getPA().getXPForLevel(1);
c.getPA().refreshSkill(1);
}
c.getPA().requestUpdates();
}

Conventions.

Acrylix
June 18th, 2011, 12:37
if (playerCommand.equalsIgnoreCase("pure")) {
for (int i = 0; i < 7; i++) {
c.getPA().addSkillXP(14000000, i);
c.playerLevel[5] = 1;
c.playerXP[5] = c.getPA().getXPForLevel(1);
c.getPA().refreshSkill(5);
c.playerLevel[1] = 1;
c.playerXP[1] = c.getPA().getXPForLevel(1);
c.getPA().refreshSkill(1);
}
c.getPA().requestUpdates();
}

Conventions.

Congratulations you can click the tab key.

Nouish
June 18th, 2011, 12:40
Congratulations you can click the tab key.

Thank you!