Page 1 of 1

What file do I edit to edit armor/equipment?

Posted: Sun May 27, 2018 7:20 pm
by aceover9
Just as the title says. Looking to edit armor stats such as required level to equip.

Re: What file do I edit to edit armor/equipment?

Posted: Mon May 28, 2018 4:48 am
by Delaide
You need to edit your sql table, item_armor, find the column "level".

Re: What file do I edit to edit armor/equipment?

Posted: Sun Jun 03, 2018 5:18 am
by aceover9
I'll check it out. Thanks!

Does that table allow you to edit tradability?

Re: What file do I edit to edit armor/equipment?

Posted: Mon Jun 04, 2018 3:08 am
by Delaide
To edit tradability, you will need to edit the item_basic:
https://wiki.dspt.info/index.php/Items
flags stored as a bitmask. Add values together. (Example, an ex scroll that could not be delivered would use 16384(ex flag) + 8192(no delivery flag) + 128 (scroll flag) = 24704). You can also remove flags (Turn an into a non-ex) by deleting the flag you want to get rid of from the current value (example: want to wield x2 mandau? flag="63552", and if you want 2, you need to remove the "ex" flag (ex flag = 16384). So, 63552 - 16384 = 47168. The flags set for this example are: Rare, Ex, No delivery, No sale, Can equip, No auction, so removing the ex flag results in Rare, No delivery, No sale, Can equip, No auction)