maniek19 0 Posted March 25, 2019 Share Posted March 25, 2019 Hello. I wanted to ask if I could somehow set the same bonus twice in the item_attr table? I would like to receive a bonus for one item, for example with the values of 5,10,15,20,25 and for the second one, for example with the values of 15,30,60,120,240. Is it possible to do something? for example: Link to comment Share on other sites More sharing options...
Cunoo 210 Posted March 25, 2019 Share Posted March 25, 2019 43 minutes ago, maniek19 said: Hello. I wanted to ask if I could somehow set the same bonus twice in the item_attr table? I would like to receive a bonus for one item, for example with the values of 5,10,15,20,25 and for the second one, for example with the values of 15,30,60,120,240. Is it possible to do something? for example: You can create new tables in source for all items.. Example: item_attr_ weapon -> 1/5 attr for weapon you can set what is possible add/change for all weapons.. item_attr_armor -> 1/5 attr for armor you can set what is possible add/change for all armors.. For what is this good? You cant set same % of bonus for all items but for one part of your equip.. Thats like your screenshot.. Or you can create new bonus same as monster like call ATTBONUS_MONSTER2.. This is possible use with one original table or with new tables for part equip.. But all is so much code.. You need: db/src/ClientManagerBoot.cpp, common/service.h, game/src/battle.cpp, game/src/char.cpp, game/src/char.h, game/src/constants.cpp, db/src/protoreader.cpp, client part.. Dump_proto source and more files what I dont say.. This is rlly rlly rlly so much changes.. 1 Link to comment Share on other sites More sharing options...
maniek19 0 Posted March 25, 2019 Author Share Posted March 25, 2019 This first idea from item_attr_weapon / item_attr_armor is cool. Can you tell me something more about this? How to do something ?? Link to comment Share on other sites More sharing options...
Cunoo 210 Posted March 25, 2019 Share Posted March 25, 2019 1 hour ago, maniek19 said: This first idea from item_attr_weapon / item_attr_armor is cool. Can you tell me something more about this? How to do something ?? You can in db/src.. ClientManagerBoot.cpp is attr, attr_rare tables.. //Only structure this tables.. Link to comment Share on other sites More sharing options...
Premium TAUMP 825 Posted March 25, 2019 Premium Share Posted March 25, 2019 You test this ahha? 2 Link to comment Share on other sites More sharing options...
maniek19 0 Posted March 25, 2019 Author Share Posted March 25, 2019 7 godzin temu, T4UMP napisał: You test this ahha? I do not know how you did it, but unfortunately it does not work with me As you can see in the attached picture. Link to comment Share on other sites More sharing options...
Premium TAUMP 825 Posted March 25, 2019 Premium Share Posted March 25, 2019 2 minutes ago, maniek19 said: I do not know how you did it, but unfortunately it does not work with me As you can see in the attached picture. kek xd Link to comment Share on other sites More sharing options...
maniek19 0 Posted March 25, 2019 Author Share Posted March 25, 2019 12 godzin temu, T4UMP napisał: kek xd You have modified something Question: what? xD Link to comment Share on other sites More sharing options...
maniek19 0 Posted March 26, 2019 Author Share Posted March 26, 2019 Okay, I've already done it. The solution is simpler than it may seem and without a hundred hours of code editing: D Link to comment Share on other sites More sharing options...
asdajdja 12 Posted March 26, 2019 Share Posted March 26, 2019 19 hours ago, T4UMP said: kek xd did you just modify the table structure without code? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now