Playing with weapon skills?

Posted by Oblisgr on Fri 31 Jan 2020 10:59 AM — 5 posts, 20,854 views.

#0
Hello, i want to make changes considering the weapon skills. I have build and regitered my own weapon skills and right now i 'm looking foward to:

1. Find and adjust the learning process of a weapon skill. For example when a player first learn a skill, i want to get 1% and eachtime the % for the skill will increase, i want it to increase by 1%. For example 1%-2%-3% etc.

2. Find and check the formula of the benefits a better % of a skill offers to the player using it.

Just need directions.
What file and witch code i have to check.
USA Global Moderator #1
You asked about #2 already. http://mushclient.com/forum/?id=14599&page=999
#2
Yes you are right! what about 1?
USA Global Moderator #3
Quote:
1. Find and adjust the learning process of a weapon skill.

Increase from combat is in learn_from_failure and learn_from_success in skills.c
Increase from practicing is in do_practice in act_info.c on the line that says

         ch->pcdata->learned[sn] += int_app[get_curr_int( ch )].learn;
Amended on Fri 31 Jan 2020 03:40 PM by Fiendish
#4
thank you