how to change the seals of these necklace
#1

thank anyone who can help me

2

#2

dofuncitem.cpp

bool do_ItemUse_Coin(CPC * pc, const CItemProto * pItemProto, int nExtra1)

#3

I am wanting to remove cooldown skill from the necklace

#4

so remove 58 option ._.

#5

Replace

// 옵션 붙는 갯수
int num = GetRandom(1, 5);

// 옵션 테이블
int nOptions[5][8] =
{
{3, 6, 12, 19, 23, 52, 56, 59,},
{1, 5, 12, 19, 23, 53, 56, 59,},
{2, 5, 12, 19, 23, 53, 56, 59,},
{4, 7, 17, 21, 24, 22, 56, 59,},
{4, 5, 53, 52, 23, 22, 56, 59}
};

GAMELOG << init("MONSTER_COMBO_COIN_CHANGE", pc )
<< nItems[item_index][random_item] << delim
<< "Option count: " << num;

with

    // 옵션 붙는 갯수
    int num = GetRandom(1, 5);

    // 옵션 테이블
    int nOptions[5][7] =
    {
        {3, 6, 12, 19, 23, 52, 56,},
        {1, 5, 12, 19, 23, 53, 56,},
        {2, 5, 12, 19, 23, 53, 56,},
        {4, 7, 17, 21, 24, 22, 56,},
        {4, 5, 53, 52, 23, 22, 56}
    };

    GAMELOG << init("MONSTER_COMBO_COIN_CHANGE", pc )
            << nItems[item_index][random_item] << delim
            << "Option count: " << num;

 

#6


2 hours ago, Desarija said:




Replace




// 옵션 붙는 갯수
int num = GetRandom(1, 5);

// 옵션 테이블
int nOptions[5][8] =
{
{3, 6, 12, 19, 23, 52, 56, 59,},
{1, 5, 12, 19, 23, 53, 56, 59,},
{2, 5, 12, 19, 23, 53, 56, 59,},
{4, 7, 17, 21, 24, 22, 56, 59,},
{4, 5, 53, 52, 23, 22, 56, 59}
};

GAMELOG << init("MONSTER_COMBO_COIN_CHANGE", pc )
<< nItems[item_index][random_item] << delim
<< "Option count: " << num;


with




    // 옵션 붙는 갯수
    int num = GetRandom(1, 5);

    // 옵션 테이블
    int nOptions[5][7] =
    {
        {3, 6, 12, 19, 23, 52, 56,},
        {1, 5, 12, 19, 23, 53, 56,},
        {2, 5, 12, 19, 23, 53, 56,},
        {4, 7, 17, 21, 24, 22, 56,},
        {4, 5, 53, 52, 23, 22, 56}
    };

    GAMELOG << init("MONSTER_COMBO_COIN_CHANGE", pc )
            << nItems[item_index][random_item] << delim
            << "Option count: " << num;


 




oh yes sorry i forget its started with 1 xD

#7

you also have to change

int tmpOp = nOptions[random_item][GetRandom(0, 7)];

to

int tmpOp = nOptions[random_item][GetRandom(0, 6)];

otherwise you will have necklaces with 0 seals



Forum Jump:


Users browsing this thread: 1 Guest(s)