View Single Post
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old November 8th, 2007, 05:47 PM
Lawful_g wrote:
>
>
> I'm making the Wizards of High Sorcery prestige class and I have a few
> questions.
>
> First of all, there are 3 alignment based variations on this class, one
> good, one evil, and one nuetral. The main ability of the class is called
> Order Secrets, and which secrets can be selecter depend on what
> alignment you are. How do I specify that a certain custom ability can
> only be selected by characters of the correct alignment? This seems to
> me easier than ther other possible way to tackle the problem, making 3
> different classes, one for each alignment (White robes, black robes, and
> red robes specifically).


You can give the special ability a prereq that checks for the right
alignment. For example, let's say you have an ability that should only
be allowed for Good heroes. Give it a prereq like this:

@valid = 0
if (hero.tagis[Alignment.Good] <> 0) then
@valid = 1
endif

With an appropriate error message.


> My second question is about the ability called Arcane focus. Basicall,
> upon taking the first level of this prestige class wizards who are not
> specialists may choose to specialize, and those who were already
> specialized give up an additional school for added benefits. How would I
> do this? Also, the schools specialized in and given up are restricted by
> alignment as well, how would I specify only certain schools?


For allowing wizards that don't specialize to specialize, I don't know
if there's a way to enforce that - you could simply say that if someone
wants to specialize, they go to the Wizard tab and specialize there.


For wizards that are already specialized, you could add a custom ability
for each school (named, for example "Forbid School: Evocation") that
they could take. The custom ability would add an appropriate "WizForbid"
tag to the hero; for example, Forbid School: Evocation would add the
"WizForbid.Evocation" tag.


Hope this helps,

--
Colen McAlister, colen@wolflair.com
Chief Engineer, Lone Wolf Development
Colen is offline   #2 Reply With Quote