Simple guide made by Maples & CaptainBri (me2)
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:
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 populair codes:
And alot more!
Well, this was my guide. Have fun editing your awakes!
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:
Code:
[B][COLOR="Red"]Awakening 35 35 30 // ¿É¼ÇÀÌ 1,2,3°³ ºÙÀ» È®·ü[/COLOR][/B]
{
[COLOR="Green"] DST_STR 7 // ÇØ´ç DST°ªÀÌ ºÙÀ» È®·ü
-28 100000
-25 2938270
-22 6486111
-19 11047619
-16 17129630
-13 25644444
-10 38416667
-7 59703704
-4 102277778
-1 236255776
1 236255776
4 102277778
7 59703704
10 38416667
13 25644444
16 17129630
19 11047619
22 6486111
25 2938272
28 100000
}[/COLOR]
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:
Code:
DST_STR 7
{
-28 00000000
-25 00000000
-22 00000000
-19 00000000
-16 00000000
-13 00000000
-10 00000000
-7 00000000
-4 00000000
-1 00000000
1 00000000
4 00000000
7 00000000
10 00000000
13 00000000
16 00000000
19 00000000
28 500000000
29 400000000
30 100000000
}
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:
Code:
DST_DEX 7
{
-28 00000000
-25 00000000
-22 00000000
-19 00000000
-16 00000000
-13 00000000
-10 00000000
-7 00000000
-4 00000000
-1 00000000
1 00000000
4 00000000
7 00000000
10 00000000
13 00000000
16 00000000
19 00000000
10 000000001
15 000000001
20 999999998
}
Simple as that.
ADDING CUSTOM AWAKES
Open up DefineAttribute.h and randomoption.inc
Scroll down to this part:
Code:
// DestParam1 Ãß°¡
// ij¸¯ÅÍ °ü·Ã
#define DST_STR
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!#define DST_GIFTBOX
Now copy the green part.
Go to randomoption.inc, scroll all the way down to the bottom.
And add the awakening code, like this:
Code:
DST_SPELL_RATE 7
{
18 000000001
19 000000001
20 999999998
}
DST_GIFTBOX 7
{
5 500000000
10 400000000
20 100000000
}
}
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 populair codes:
Code:
DST_MELEE_STEALHP = Steal HP (Normally found on slotted ultimate weapons.)
DST_GIFTBOX (Lucky Box awake like I've demonstrated above.)
DST_EXPERIENCE (EXP in % awake, unbelievable populair :w00t:)
Well, this was my guide. Have fun editing your awakes!