Skip to content

[Share]Refresh your buffs time :)

Featured Replies

Since i have too many months to share something i decided to share something :)

 

its a voiced command.

 

Q:How to use?

A:its simple when you type .refresh your buffs time will be refreshed :)

 

here is the code voiced http://pastebin.com/bHYU3gnn

here is the code with item (NumL0ck request"s) http://pastebin.com/fxNYBaXt (final int ItemForUseId = 34; <- you can change this and you can put any item you want, you can change this final int AdenaCount = 100; and you can put any price you want :) )

DONT FORGET TO REGISTER THE VOICED! :)

DONT FORGET TO REGISTER THE ITEM! :)

 

Credits Me (AbsolutePower)

 

Coded on:L2j (clean source)

 

 

  • Author

look awesome ty keep sharing :)

Awesome idea, keep up!

ty mates :)

  • Author

Awesome idea, keep up!

ty Zake :)

can you make with item? example if you wanna refresh you need 100 adena or something like that:)

That's interesting. I will use it of course. Thank you!

Nice idea, but this: else if(activeChar.getPkKills() >0) shouldn't be else if(activeChar.getKarma() > 0) ? :)

 

"You can't refresh your buffs while you got pk" ==> "You can't refresh your buffs while you got karma". I think you mean this :P

yeah there should be activeChar.getKarma()

also for what did u make that map? final FastList<L2Effect> Buffs = new FastList<L2Effect>();

its not needed at all, except that its really cool share, thx a lot :)

  • Author

yeah there should be activeChar.getKarma()

also for what did u make that map? final FastList<L2Effect> Buffs = new FastList<L2Effect>();

its not needed at all, except that its really cool share, thx a lot :)

ty man :) i did the Buffs to save the buffs in the list :P

 

Nice idea, but this: else if(activeChar.getPkKills() >0) shouldn't be else if(activeChar.getKarma() > 0) ? :)

 

"You can't refresh your buffs while you got pk" ==> "You can't refresh your buffs while you got karma". I think you mean this :P

wow lol it was my mistake i just wrote it fast  because some times the eclipse shows auto the method and i didn't see what it wrote :P

 

i will update it

  • Author

That's interesting. I will use it of course. Thank you!

ty xD :)

 

Nice , thx

ty mike :)
  • Author

can you make with item? example if you wanna refresh you need 100 adena or something like that:)

done :)

thanks, but can you put flood protector because, i can all time use refresh

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.