Pages

wX_sample.bin Ran Online

Editing wX_sample.bin (Random Option)First, Do you know what w1_sample.bin w2_sample.bin w3_sample.bin does?

This file use almost every Item in our Server, but we just don't know what is this.

Lets get start.

Code:
fRATE   100.0f
dwSET_NUM  3
D_point   2.0f
S_value   1.6f

//ITEM_RANDOM_OPTION TYPE 
// EMR_OPT_NULL    = 0, //None
// EMR_OPT_DAMAGE    = 1  //Damage (1,-327.00%~+327.00%),
// EMR_OPT_DEFENSE    = 2,  //Defense (2,-327.00%~+327.00%),
// 
// EMR_OPT_HITRATE    = 3,  //Hit Rate (3,-327.00%~+327.00%),
// EMR_OPT_AVOIDRATE  = 4,  //Aviod Rate (4,-327.00%~+327.00%),
// 
// EMR_OPT_HP     = 5,  //Increase HP (5,-32,700~+32,700),
// EMR_OPT_MP     = 6,  //Increase MP (6,-32,700~+32,700),
// EMR_OPT_SP     = 7,  //Increase SP (7,-32,700~+32,700),
// 
// EMR_OPT_HP_INC    = 8,  //HP Recover Rate (8,-3.2700%~+3.2700%),
// EMR_OPT_MP_INC    = 9,  //MP Recover Rate (9,-3.2700%~+3.2700%),
// EMR_OPT_SP_INC    = 10, //SP Recover Rate (10,-3.2700%~+3.2700%),
// EMR_OPT_HMS_INC    = 11, //HP+MP+SP Recover Rate (11,-3.2700%~+3.2700%),
// 
// EMR_OPT_GRIND_DAMAGE   = 12, //Damage Refine Level (12,0~9),
// EMR_OPT_GRIND_DEFENSE   = 13, //Defense Refine Level (13,0~9),
// 
// EMR_OPT_RANGE    = 14, //Attack Range (14,-32,700~+32,700),
// EMR_OPT_DIS_SP    = 15, //SP Consumption  (15,-32,700~+32,700),
// EMR_OPT_RESIST    = 16, //Resistance (16,-32,700%~+32,700%)
// 
// EMR_OPT_MOVE_SPEED   = 17, //Moving Speed
//
//
NEW_OPTION_1 100.0f, 1, 2 
NEW_OPT_SE_1_1 50.0f, 5, 0
NEW_OPT_SE_1_2 50.0f, 0, -5
//
NEW_OPTION_2 20.0f, 15, 1
NEW_OPT_SE_2_1 100.0f, 0, -2
//
NEW_OPTION_3 10.0f, 12, 1
NEW_OPT_SE_3_1 100.0f, 2, 0
///////////////////////////////////
REB_OPTION_1 100.0f, 1, 5
REB_OPT_SE_1_1 5.0f, 5, 4
REB_OPT_SE_1_2 45.0f, 3, 1
REB_OPT_SE_1_3 35.0f, 1, -1
REB_OPT_SE_1_4 10.0f, 0, -2
REB_OPT_SE_1_5 5.0f, -3, -5
//
REB_OPTION_2 20.0f, 15, 1
REB_OPT_SE_2_1 100.0f, 0, -2
//
REB_OPTION_3 10.0f, 12, 2
REB_OPT_SE_3_1 60.0f, 1, 1
REB_OPT_SE_3_2 40.0f, 2, 2

fRATE  = Rate 1-100% only.
dwSET_NUM = Number of Setting, Maximum 4 only.
D_point = Not sure yet.
S_value = Refine Price.
Note: If your dwSET_NUM you put 4, Then you need to have 4 NEW_OPTION and 4 REB_OPTION.

NEW_OPTION_1 100.0f, 1, 2
NEW_OPT_SE_1_1 50.0f, 5, 0
NEW_OPT_SE_1_2 50.0f, 0, -5

REB_OPTION_1 100.0f, 1, 5
REB_OPT_SE_1_1 5.0f, 5, 4
REB_OPT_SE_1_2 45.0f, 3, 1
REB_OPT_SE_1_3 35.0f, 1, -1
REB_OPT_SE_1_4 10.0f, 0, -2
REB_OPT_SE_1_5 5.0f, -3, -5

Red = Rate
Green = Type, you can use the 17 Type from "ITEM_RANDOM_OPTION TYPE"
Blue = OPT_SE, Means if you put 2 you will need 2 OPT_SE_1_1 & OPT_SE_1_2
Orange = High
Violet/Pink = Low
Note: NEW_OPTION means Mob Drops, REB_OPTION will only Effect on Rebuild Card.
Note: The Rate on OPT_SE cannot more then 100.0f (100%)

So Now I gonna Explain what I setting.
NEW_OPTION_1 100.0f, 1, 2
NEW_OPT_SE_1_1 50.0f, 5, 0
NEW_OPT_SE_1_2 50.0f, 0, -5
//
NEW_OPTION_2 20.0f, 15, 1
NEW_OPT_SE_2_1 100.0f, 0, -2
//
NEW_OPTION_3 10.0f, 12, 1
NEW_OPT_SE_3_1 100.0f, 2, 0
I got 3 dwSET_NUM, so my item drops will have 3 different Random Option.
Option 1 means that item 100% will have this Option and 50% will get +0%~+5% Damage and 50% will get -0%~-5% Damage.
Option 2 means that item 20% will have this Option and 100% will get 0%~-2% SP Consume.
Option 3 means that item 10% will have this Option and 100% will get +0~+2 Damage Refine Level.

I'm Not MentaL
Ragezone