[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  New Class cannot practice anything.

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: New Class cannot practice anything.
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please)
Maximum of 6000 characters. Text only please, no HTML.
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Thu 17 Aug 2006 06:27 AM (UTC)  quote  ]
Message
Print what adept is. It's probably something like 0.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Nargsbrood   (54 posts)  [Biography] bio
Date Thu 17 Aug 2006 06:09 AM (UTC)  quote  ]
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
[Go to top] 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.


1,327 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]