What file do I edit to edit armor/equipment?

Post Reply
aceover9
Posts: 31
Joined: Tue May 02, 2017 10:38 pm

What file do I edit to edit armor/equipment?

Post by aceover9 » Sun May 27, 2018 7:20 pm

Just as the title says. Looking to edit armor stats such as required level to equip.

Delaide
Posts: 478
Joined: Sat Jun 14, 2014 8:58 am

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

Post by Delaide » Mon May 28, 2018 4:48 am

You need to edit your sql table, item_armor, find the column "level".

aceover9
Posts: 31
Joined: Tue May 02, 2017 10:38 pm

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

Post by aceover9 » Sun Jun 03, 2018 5:18 am

I'll check it out. Thanks!

Does that table allow you to edit tradability?

Delaide
Posts: 478
Joined: Sat Jun 14, 2014 8:58 am

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

Post by Delaide » Mon Jun 04, 2018 3:08 am

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)

Post Reply