Dual Class - Skill Usage

Posted by Rash on Wed 16 Jul 2008 01:15 PM — 2 posts, 14,607 views.

United Kingdom #0
Im having a problem with my remort code I've used from a snippet. (I cant recall the author's name
as Ive had the code for sometime and there was no headers with it. Possiably it was a Rom port?)
I've since added to it to allow a player to keep all their stats, equipment, glory etc. Im now
wanting them to keep their skill's and be able to use them in to their next class. I found a
Dual Class fix somewhere (Possiably Kyndig's Website?) and tried using that and adapting as
needed but I simply cant get it to work. The player can see their previous class skill's under
'practice' but can't practice ANY skill or cast ANY spell (but can use practiced skills?).

What Im after is simple, upon remort, a player can keep and use (and practice if they havnt already)
any skill/spell their character had before the remort aswell as use any new skills and spells the
character can learn in there new class.

Below is the code I've used including the remort code and the dual class fix i mentioned above.

Use the link to get the file. It's well over 6000 character's and so can't be posted here without spanning multiple posts.

http://www.mediafire.com/?vdzobmjnfj3 (Simple text file hosted at mediafire.com)

Thanks for any help.

Rash
Amended on Wed 16 Jul 2008 01:16 PM by Rash
Australia #1
The code looks to be derived from remort by Xervies of Raffermand to me, Assuming that it is, you have 2 or more sets of classes, Mort tier 0 and remort tier 1 etc.

With that type of remort and the way that smaug handles skills it is not easy to give a remort class access to all the old skills that the character has, unless they are all ready in the class file.

Possible ways around this are linear progressions in classes where Warrior has only 1 choice to remort to Deathknight as you can then have all of warriors skills in the deathknight class file.

If however you want to have warrior remort into other classes like mage, the solution becomes a lot more difficult. Possibly the most hackish way would to be to use SKILL_HIDDEN flag on all the skills and have every skill in every class file and turn the flags on and off depending on class choice.

That was how i implemented remort and classless in Eldhamud 1.04. Remort just made some new skills visible, which made them practicable by PC's.