Jump to content

[Share] Enchant Rates For Donator


Recommended Posts

Well I make this code couse I was bored...

And time ago few members from here asked me how can they do it.

So today when I was bored I maked this code..

Its created on my project and the patch should be added manualy.

But if you are interested you can find the patch at the link bellow.

 

http://pastebin.com/uG8HBS8s

Link to comment
Share on other sites

Well I make this code couse I was bored...

And time ago few members from here asked me how can they do it.

So today when I was bored I maked this code..

Its created on my project and the patch should be added manualy.

But if you are interested you can find the patch at the link bellow.

 

http://pastebin.com/uG8HBS8s

thanks for share but tested?

Link to comment
Share on other sites

#
+               if (!Config.DONATOR_ENCH_RATES && !activeChar.isDonator())
#
               {
                      ...
                      //normal enchants
               }
               else{
                      //donator enchants
               }

 

when the first if will be true?

 

- yes config           yes donator         false

- no config            yes donator         false

-yes config            no donator          false

-no config             no donator          TRUE

 

so

 

you will have donator enchant rate if config is set to true (no care if you are a donator) or if its not set to true but you are a donator

Link to comment
Share on other sites

  • 3 weeks later...
  • 6 months later...
  • 4 months later...

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

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock