Couple of Feat Questions
Alright, so I'm working on some feats that I can currently divide into 2 groups for this question.
Part 1 - The easy one I'm working on a feat that gives extra bonuses based on what a flying creatures maneuverability is, but I can't figure out how to target maneuverability in the if statement. Part II - the not so easy ones I'm also inputting a set of 3 feats that do something different based on the domains you have. I had a couple different ideas, but I haven't tried either yet, because both will require a lot of typing. Idea #1 - If elseif statements. Basically doing eval scripts for each one that will have a bunch of if/elseif statements to get all the info in. I'm sure this would work, but it just doesn't seem like the best way. Idea #2 - Ability bootstrapping. This idea is to great an individual ability that matches for each domain and then bootstrap them to the feat with conditions that check for what domains they have. Personally I think this will likely be the easiest one, but I'm not sure it's feasible. And finally a question about design philosophy. When creating a new race, if it has spell-like abilities similar to that of a gnome (where in the rules they're under the ability Gnome Magic) should you create the main ability and then bootstrap the SLAs to that and then bootstrap the main ability to the race, or do each one individually to the race? Thanks, Andrew |
Ok, I figured out the maneuverability part, for anyone interested here's the code I used.
Code:
if (hero.child[xFly].tagis[Maneuver.Good] <> 0) then Andrew |
Andrew, just a pointer. With what you have above, you will have both maneuverability classes assigned to a creature, when you obviously only want the better of the two. Delete the tag identified maneuverability class also. So the first if statement will have perform hero.child[xFly].delete[Maneuver.Good], and so forth for the other if statements.
|
Quote:
So if one Thing assigns "Average" and different Thing assigns "Perfect" then xFly calculates the Fly Skill based on "Perfect" then. Just an FYI... |
If it'll be better, its not that big of a deal to add the delete statements in.
|
Wasn't aware of that, go figure. I've been deleting them.
|
Anyone on Question 2 at the beginning? I'm still working on that one.
|
I'm sorry, what is question 2? Both of your proposed methods seem reasonable to me. Are you having trouble getting them to work? If so, please give some more details.
As for design philosophy, I think we generally bootstrap the racial SLAs directly to the race rather than through an intermediary. |
AndewD2, I just wanted to point out I was working on the very same thing. I wracked my brain for a good long while. Finally I checked here to discover you'd solved that same question months ago.
Thank you! |
All times are GMT -8. The time now is 12:23 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.