- Joined
- Jun 7, 2024
- Messages
- 1,108
- Solutions
- 29
- Reaction score
- 1,162
- Points
- 113
Files you'll need:
-Randomoption.inc (server files --> resource)
-DefineAttribute.h (server files --> resource)
I suggest you copy these 2 files to for example your desktop.
This is because if you mess the files up, you have a backup @ your resource map.
EDITING THE AWAKES!
Ok. First we'll edit the awakes. Open up the file "randomoption.inc" (from your desktop)
You'll see a bunch of codes, for example:
Red part: Don't mess with it unless you know what you're doing.
Green part: We are going to work on this.
Quite easy, for example you want 3 awakes:
50% chance for a 10 str awake
40% chance for a 15 str awake
10% chance for a 20 str awake
It is important you make it 100%! No more no less, or your server will not handle the awakes properly!
Okay, so change the code from above to:
As you can see, "100000000" = 10%
So "500000000" = 50%
You can do this with every awake there is. Do not copy and paste the code from above! Every awake has its own code that you'll need to edit!
You need atleast 3 awakes in the files to make it work (as far as I know, correct me if I'm wrong )
If you want only 1 awake to appear, edit the awakes like this way:
Simple as that.
ADDING CUSTOM AWAKES
Open up DefineAttribute.h and randomoption.inc
Scroll down to this part:
Beneath this piece of code are all the awakes you can add to awakening scrolls.
Browse trough them to discover cool awakes
Today we're gonna add the "Lucky Box" awake to cash-shop pets.
Look for the "giftbox" code in DefineAttribute:
Ah found it!
Now copy the green part.
Go to randomoption.inc, scroll all the way down to the bottom.
And add the awakening code, like this:
ALWAYS USE THE #TAB# key! Or else the awakes won't work!
Repeat the step with other awakes. You actually only need to chance the DST_****** code.
Some popular codes:
And alot more!
-Randomoption.inc (server files --> resource)
-DefineAttribute.h (server files --> resource)
I suggest you copy these 2 files to for example your desktop.
This is because if you mess the files up, you have a backup @ your resource map.
EDITING THE AWAKES!
Ok. First we'll edit the awakes. Open up the file "randomoption.inc" (from your desktop)
You'll see a bunch of codes, for example:
Red part: Don't mess with it unless you know what you're doing.
Green part: We are going to work on this.
Quite easy, for example you want 3 awakes:
50% chance for a 10 str awake
40% chance for a 15 str awake
10% chance for a 20 str awake
It is important you make it 100%! No more no less, or your server will not handle the awakes properly!
Okay, so change the code from above to:
As you can see, "100000000" = 10%
So "500000000" = 50%
You can do this with every awake there is. Do not copy and paste the code from above! Every awake has its own code that you'll need to edit!
You need atleast 3 awakes in the files to make it work (as far as I know, correct me if I'm wrong )
If you want only 1 awake to appear, edit the awakes like this way:
Simple as that.
ADDING CUSTOM AWAKES
Open up DefineAttribute.h and randomoption.inc
Scroll down to this part:
Beneath this piece of code are all the awakes you can add to awakening scrolls.
Browse trough them to discover cool awakes
Today we're gonna add the "Lucky Box" awake to cash-shop pets.
Look for the "giftbox" code in DefineAttribute:
Ah found it!
Now copy the green part.
Go to randomoption.inc, scroll all the way down to the bottom.
And add the awakening code, like this:
ALWAYS USE THE #TAB# key! Or else the awakes won't work!
Repeat the step with other awakes. You actually only need to chance the DST_****** code.
Some popular codes:
And alot more!