[ScryMUD]Branch information: messy-skillspell-reorg

Edward Roper eroper at wanfear.com
Tue May 6 15:05:45 PDT 2003


I've created a new branch: "messy-skillspell-reorg"

What's there currently is a very ripped up and reorganized SKILLS_SPELLS
and some code changes to make it all happy.

While reorganizing I wanted to put some "seperation" between classes. On
the magic and physical arts sides respectively I wanted some base skills
shared among clerics-mages, warriors-thieves-rangers but I wanted
high-end specialized skills to be parted out by class. I originally
started by creating new "base skills" for class types and realized this
isn't just a messy way to handle things but it's too easy to screw
things up and "accidently" create a non-desired tree-path into magehood
as a cleric, etc.

As it stands now I'm going to add another field to the SKILLS_SPELLS
file. This field will be an "optional" class restriction. If there is
nothing in this field, there will inherently be no class restrictions.
If there is something, it'll be a space seperated list of classes that
should be granted the option (after meeting prereqs) to continue on and
learn it.

I'm also tossing around the idea of un-hardcoding the starting skillsets
from login.cc and the remort code and adding yet another optional field
to SKILLS_SPELLS which might look something like: 0 10 1 5 -1. Basically
race 0 starts with this skill at 10%, race 1 at 5%. 

Yet another thing I noticed it that in spells.cc:update_skill() some
skills change a players stats as soon as it's learned at 1%. These
skills then become pretty useless. Instead of doing something like
pc.CHA++ in this code I'd rather touch everywhere that references a pc's
charisma and instead of just returning a value writing a method that
returns a value after calculating any skill modifiers into it. This way
Quickfoot at 1% and Quickfoot at 100% are two differently behaving
beasts.

In short I created this branch because I realized (fortunately) that
while tweaking with this stuff I was going to find a million other
things that either [a] broke or [b] needed to be reworked.

Those of you using CVS can change your working copy to this branch with:
cvs update -r messy-skillspell-reorg.

You can checkout a fresh copy by replacing "update" with "co"

Please note that once you're working on this branch any changes you make
will also be put into this branch. 

For reference you can always find out if you're on a branch by running
"cvs status [somefile in the working tree]" and looking for
"Sticky-Tag:" entries.




More information about the ScryMUD mailing list