Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enchant colour? #6

Closed
SyntaxDragon opened this issue May 4, 2017 · 6 comments
Closed

Enchant colour? #6

SyntaxDragon opened this issue May 4, 2017 · 6 comments

Comments

@SyntaxDragon
Copy link

Legendary Orange/gold
Elite: Aqua or Blue
Ultimate: Yellow
Simple: White

Different colours for diffrent enchant or the ability to chose the colour

http://imgur.com/a/orU50 (Coloured)

@DaPigGuy
Copy link
Owner

DaPigGuy commented May 5, 2017

Probably not now.

@asyncthreading
Copy link

You can build them easy
$lvl = $ench->getLevel();
if($lvl == 1) {
$level = "I";
}
if($lvl == 2) {
$level = "II";
}
if($lvl == 3) {
$level = "III";
}
if($lvl == 4) {
$level = "IV";
}
if($lvl == 5) {
$level = "V";
}
if($item->getId() == 276) {
if($ench->getId() == 30) {
$p->sendPopup(C::AQUA . "Diamond Sword\n§4Oink §7LifeSteal $level");

@DaPigGuy
Copy link
Owner

DaPigGuy commented Jun 8, 2017

That's a mess.

@asyncthreading
Copy link

I tested it and works fine ;)

@DaPigGuy
Copy link
Owner

DaPigGuy commented Jun 8, 2017

I have a better method...

@Aericio
Copy link
Collaborator

Aericio commented Oct 25, 2017

Test the latest commit (2eff7c5). If everything works, I'll close this feature request.

@Aericio Aericio closed this as completed Oct 27, 2017
@ghost ghost mentioned this issue Dec 5, 2017
@pranavbhuv pranavbhuv mentioned this issue Mar 15, 2018
@ghost ghost mentioned this issue Jul 19, 2020
@JustYuss JustYuss mentioned this issue Oct 19, 2022
@ivigb ivigb mentioned this issue Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants