Jump to content
  • 0

[Help]Java Buffer


Question

Posted (edited)

thelw na kanw to e3eis... otan enas player exei as poume x buff(px. shield) kai to kanei self/target to buff den to pairneis mexri na teliwsh to effect/cast oute mporeis na walk..kai ta upoloipa buffs exoun to diko tous effect... px. dance theloun duals oste na ta knc ktlp.

 

kati tetoio thelw na kanw se buffer..

 

px auto to code kanei self effect alla ama knc walk kanei cancel to effect kai to buff to exeis parei :P

        StringTokenizer st = new StringTokenizer(command, " ");
        String actualCommand = st.nextToken();

        int buffid = 0;
        int bufflevel = 1;
        if (st.countTokens() == 2) {
            buffid = Integer.valueOf(st.nextToken());
            bufflevel = Integer.valueOf(st.nextToken());
        }
        else if (st.countTokens() == 1)
            buffid = Integer.valueOf(st.nextToken());

        if (actualCommand.equalsIgnoreCase("getbuff")) {
            if (buffid != 0) {
                MagicSkillUse mgc = new MagicSkillUse(this, player, buffid, bufflevel, 5, 0);
                SkillTable.getInstance().getInfo(buffid, bufflevel).getEffects(this, player);
                showMessageWindow(player);
                player.broadcastPacket(mgc);
            }
        }

:forever alone like a boss: :forever alone like a boss: 3erei knc pws na to kanw?

Edited by vl4d

9 answers to this question

Recommended Posts

  • 0
Posted (edited)

thelw auto me to effect/cast kai buff meta to cast (ti check theli) :P px twra kanei effect alla as poume kanei to 80% kanei stop 2 sec kai meta kanei kai to 20%...

 

mporeis na check to code pou exw ginetai kati kalutero sto grapsimo??

Edited by vl4d

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • First of all i don't use this account to do anything other than just reported that someone scammed me few bucks 3 days ago.  Second, who says i did scam, my name is ahead many topics because i had the most clients in the forum. Afcourse i had bad deals since 2017.    Also do i even know you? PM me if you have some issue do not write in public as if you are some savior or want maxcheaters owneship. 
    • 🔥 Lin2Web CMS Version 2.0 : New Engine! 🔥                 A fully rebuilt, fast and modern CMS for Lineage 2 servers. ✅ Player panel: game accounts, warehouse, send items to game, HWID/IP protection, unstuck ✅ Donate: 20+ payment systems (PayPal, Stripe, CoinPayments, CryptoCloud, FreeKassa and more) ✅ Services: name/gender change, karma clear, premium, item & skin transfer, starter packs ✅ Bonuses: promo codes, referrals, vote rewards, season, clan leader and streamer rewards ✅ Statistics: PvP/PK, clans, heroes, olympiad, castles, raid & epic bosses ✅ Live map with online players ✅ Events calendar, news, guides, FAQ ✅ Support ticket system ✅ UTM tracking for ads ✅ Full admin panel ✅ Multi-language, multi-server, custom themes   Site cms: Lin2Web.com   🖥 Supported Servers: L2J: Lucera2, L2J-Scripts, aCis, L2J-Eternity, L2JMobius, L2JFrozen, L2JSunrise, L2JHellas, PWSoft, Fandc, L2J Orion, and others PTS: Vanganth, Depmax64 (AdvExt), MyExt64   Telegram Discord
    • 🔥 Fresh batch ready! Buy 2, Get 1 Free deal is live on our shop. Instant delivery 24/7.
    • Dont try trash topic malaka 🙂
    • cmon! just don't trust anyone and work alone! do what you need with mxc and developers here. o OAED erxete gia tous "developers" ean to epiases
  • Topics

×
×
  • Create New...

Important Information

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..