Jump to content

Recommended Posts

Posted

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)

 

 

Posted

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

Posted

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 :)

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...