![]() |
|
how to change the seals of these necklace - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193) +---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157) +----- Forum: Ep4 Support (https://lckb.dev/forum/forumdisplay.php?fid=128) +----- Thread: how to change the seals of these necklace (/showthread.php?tid=1078) |
- netoforlan2 - 04-14-2021 thank anyone who can help me 2 - Desarija - 04-14-2021 dofuncitem.cpp bool do_ItemUse_Coin(CPC * pc, const CItemProto * pItemProto, int nExtra1) - netoforlan2 - 04-14-2021 I am wanting to remove cooldown skill from the necklace - rondo157 - 04-15-2021 so remove 58 option ._. - Desarija - 04-15-2021 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; - rondo157 - 04-15-2021 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 - WhosUrDaddi - 04-15-2021 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 |