give players all skills/spells like immortals?
< Newer Topic
:: Older Topic >
trying to find the section of code.
Pages:<< prev 1 next >>
#1 Sep 9, 2016 8:44 am
Apprentice
GroupMembers
Posts78
JoinedAug 28, 2016
for the purpose of my mud, I want to have the players have the ability to have all the commands in the skill list, like the immortals do. Each skill is awarded through either questing or learned by wearing specific equipment. I know I could just make a class and setclass EVERY skill, but that's tedious and I feel unnecessary. I'm sure there is just something I can comment out or an || (or) factor I can change to let this happen via code.
if anyone could point me to it, i would be greatful. Thanks
if anyone could point me to it, i would be greatful. Thanks
#2 Sep 9, 2016 10:51 am
Magician
GroupMembers
Posts147
JoinedJun 9, 2009
Just change the guild for all skills to the same one and make sure that all players are set to the same one as well?
See the skill_type struct in mud.h, change existing skills in system/skills.dat. Or, to do it in a slightly more automatic way, modify fread_skill in tables.c and set the guild for everything to 0, or whatever, in there.
See the skill_type struct in mud.h, change existing skills in system/skills.dat. Or, to do it in a slightly more automatic way, modify fread_skill in tables.c and set the guild for everything to 0, or whatever, in there.
#3 Sep 9, 2016 9:09 pm
Apprentice
GroupMembers
Posts78
JoinedAug 28, 2016
Thank you for the response!
#4 Sep 9, 2016 11:43 pm
Apprentice
GroupMembers
Posts63
JoinedDec 23, 2007
if you want a linux command for replacing strings from the command line you could try
sed -i 's/old_string/new_string/g' skills.dat
Pages:<< prev 1 next >>