Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ New Class cannot practice anything.
|
New Class cannot practice anything.
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Nargsbrood
(54 posts) Bio
|
| Date
| Thu 17 Aug 2006 06:09 AM (UTC) |
| Message
| I am looking for the lazy man's way out on this one. anyone had problems when creating a new class that they cannot practice any skills? it is hitting these lines of code:
adept = class_table[ch->class]->skill_adept * 0.2;
if ( ch->pcdata->learned[sn] >= adept )
{
sprintf( buf, "$n tells you, 'You already know what I can teach about %s.'",
skill_table[sn]->name );
act( AT_TELL, buf, mob, NULL, ch, TO_VICT );
act( AT_TELL, "$n tells you, 'You'll have to practice it on your own now...'",
mob, NULL, ch, TO_VICT );
}
in the .class file, the skills look like this:
Skill 'disarm' 24 90
Skill 'dodge' 24 85
Skill 'mount' 2 90
Skill 'parry' 23 90
Skill 'rescue' 15 95
Skill 'scan' 11 90
Skill 'second attack' 23 90
Skill 'third attack' 30 90
Skill 'bludgeons' 1 80
Skill 'long blades' 1 30
Skill 'pugilism' 1 99
Skill 'short blades' 1 65
Skill 'talonous arms' 1 99
Skill 'eagle' 5 95
Skill 'common' 1 99 | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #1 on Thu 17 Aug 2006 06:27 AM (UTC) |
| Message
| | Print what adept is. It's probably something like 0. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
10,861 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top