How would I go about changing the requirements for certain equipment? #1162
|
Would it be supported in the associated .toml? I see other skills have that option but I'm a little confused on how it's all put together. Say, for example, I wanted to remove the attack requirements for the magic weapons on my server, how would I go about that? |
Replies: 1 comment 5 replies
|
Took me a bit to really understand how everything is put together, but now I do! (Somewhat.) First the two values: These determine what skills are required to equip the weapon. For the sake of compatibility (and simply not knowing how to open a cache file and edit it) I left these values alone and focused on the next two: equip_level_1 = 70 Now I don't remember where exactly, but somewhere I read that the value of attack was 0, so I knew to turn equip_level_1 (which the skill is assigned to 0) to = 0. And this can be edited without recompiling the client under barrows.items.toml - Simply add the value and it will override it! |
Took me a bit to really understand how everything is put together, but now I do! (Somewhat.)
Everything you need is stored in the cache, and GregHib has created a tool that you can run to see inside it. See Cache Viewer
Now all of this information is actually able to be freely edited! In this example I used Ahrim's Staff which has 70 attack requirement.
First the two values:
equip_skill_1 = 0
equip_skill_2 = 6
These determine what skills are required to equip the weapon. For the sake of compatibility (and simply not knowing how to open a cache file and edit it) I left these values alone and focused on the next two:
equip_level_1 = 70
equip_level_2 = 70
Now I don't remember where exactly, …