This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
kegas
re pedia evala ex8es java code sto enterworld.java ala mou vgazei field otan kanw build
kai to evala etc
@Override public String getType() { return _C__03_ENTERWORLD; if (activeChar.getPvpKills()>= 100) { activeChar.getAppearance().setNameColor(FF9200); } if (activeChar.getPvpKills()>= 200) { activeChar.getAppearance().setNameColor(FFEE00); } if (activeChar.getPvpKills()>= 300) { activeChar.getAppearance().setNameColor(FF0000); } if (activeChar.getPvpKills()>= 400) { activeChar.getAppearance().setNameColor(8000FF); } if (activeChar.getPvpKills()>= 500) { activeChar.getAppearance().setNameColor(000000); } } private void notifyCastleOwner(L2PcInstance activeChar) { L2Clan clan = activeChar.getClan(); if (clan != null) { if (clan.getHasCastle() > 0) { Castle castle = CastleManager.getInstance().getCastleById(clan.getHasCastle()); if ((castle != null) && (activeChar.getObjectId() == clan.getLeaderId())) Announcements.getInstance().announceToAll("Lord " + activeChar.getName() + " Ruler Of " + castle.getName() + " Castle is Now Online!"); } } } private void setPledgeClass(L2PcInstance activeChar) { int pledgeClass = 0; if ( activeChar.getClan() != null) pledgeClass = activeChar.getClan().getClanMember(activeChar.getObjectId()).calculatePledgeClass(activeChar); if (activeChar.isNoble() && pledgeClass < 5) pledgeClass = 5; if (activeChar.isHero()) pledgeClass = 8; activeChar.setPledgeClass(pledgeClass); } }ti ekana la8os?
10 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