Member
Join Date: Apr 2010
Posts: 86
|
I am trying to make the able learner feat, but do not know how. Does anyone have this?
|
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jun 2010
Posts: 623
|
Quote:
That will allow 2 points to be spent (for 1 skill rank) on each skill without showing red. The user will be trusted to not "spread" these half ranks around. You could also enforce even numbers of ranks to fix this issue if you don't trust them. |
|
#2 |
Member
Join Date: Apr 2010
Posts: 86
|
This is a old post that someone did. However, I do not have a clue as to how to make it work.
Able Learner |
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jun 2010
Posts: 623
|
I don't like their suggestion (make all things class skills) and limit the max ranks.
But the last suggestion is a fine solution: HouNoXMult Have the Able Learner enable that house rule setting changes the multiplier to 1.0: Code:
if (hero.tagis[Settings.HouNoXMult] <> 0) then xmult = 1 else xmult = 0.5 endif |
#4 |
Member
Join Date: Apr 2010
Posts: 86
|
OK, but how do I do this? Do I open the Editor and then place this in a certain tab?
|
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Jun 2010
Posts: 623
|
Quote:
So I implemented it in a different way. Code:
<thing id="fAbleLearn" name="Able Learner" description="You have a great aptit ude for learning.\n\nPrerequisite: Human or doppelganger.\n\nBenefit: All skill ranks cost 1 skill point for you to purchase, even if the skill is cross-class f or you. The maximum number of ranks you can purchase in a cross-class skill rema ins the same.\nThis feat does not affect the skill point cost to learn a languag e or to gain literacy (for a barbarian or other illiterate character).\n\nSpecia l: This feat may only be taken at 1st level.\n\nNormal: Cross-class skills cost 2 skill points per rank." compset="Feat" uniqueness="useronce"> <comment><![CDATA[Race.Human works but Race.Doppleganger doesn't Doesn't handle 1st level only for picking the feat (it should be greyed out if a bove 1st level.]]></comment> <usesource source="srcRaceDes" parent="p35" name="Races of Destiny"/> <tag group="Helper" tag="ShowSpec" name="ShowSpec" abbrev="ShowSpec"/> <tag group="fCategory" tag="General" name="General" abbrev="General"/> <eval phase="PreLevel" priority="5100"><![CDATA[~ If we're disabled, do noth ing if (tagis[Helper.FtDisable] <> 0) then done endif ~ Look through skills, set our # ranks = # points spent. foreach pick in hero from BaseSkill where "!thingid.kSpeakLang" each.field[kUserRanks].value = each.field[kUserPts].value nexteach]]></eval> <prereq message=""> <validate><![CDATA[@valid = tagis[Race.Human] ~ This is because evidently Doppleganger doesn't register Race.Dopple? foreach pick in hero where "component.BaseRace" if (pos(each.idstring,"rDoppel") = 0) then @valid += 1 endif nexteach]]></validate> </prereq> </thing> This will be added to the community data set 1.3, so when that comes out you will need to delete your file as you will get a duplicate on the fAbleLearn object. |
|
#6 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
Risner, you can make a feat only available to 1st level characters by setting it's feat category to "Upbringing", and I think the posters question was a bit more basic than that. I believe he was asking how to create the feat.
To NeoFax: Open the editor, go to the Feats tab. Hit the New (Blank) button in the Lower Left. Name your feat and give it a unique id in the field directly right of the Name. Under that is a big box where you can type the text for your feat. Now the scripting part. In the upper right there are a bunch of buttons, click on the one that says "Eval Scripts". In the New window set the Phase to PreLevel (it is a drop down menu) and the Priority to 5100. Now in the big main field you will need to copy all the things in risner's code from "if (tagis[Helper.FtDisable] <> 0) then" until the first "nexteach" Now for the Prereqs. Near the Eval Scripts button there is an Expr Reqs button, click on that and click on the area in the new window where it says "Click to add another expression requirement". The first line is the message that will appear if the user doesn't qualify. The second line is for the Expression. On the second line put: hero.tagis[Race.Human] <> 0 Don't worry about Dopplegangers for the moment unless you are actually playing one. For some reason a race won't apply its own race tag unless it has been defined in the "Counts As Races" field, which doppleganger has not. Now save the file and hit the "Test Now" button in the upper left of the editor and the feat should be ready for use. Add it to your character and test it out. |
#7 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
By the way Risner, I like the code, that was a clever way to handle the problem.
|
#8 |
Senior Member
Volunteer Data File Contributor
Join Date: Jun 2010
Posts: 623
|
Quote:
NeoFax, try to use the same unique ID so you can just delete the file to get the community one without deleting and re-adding the feat. So use fAbleLearn for unique id. We should probably fix rDoppel2 to do the counts as race? Since there is a Doppelganger and Greater Doppleganger race? Both count as Doppelgangers? I don't think GD is coded yet, but I didn't search. If you mean the setting to 1 for 1, I can't take credit. My greps pulled up Guerrilla Warrior (HoB), so the author of that is my inspiration. My original fix (tagging the 1x multiplier house rule) had the unintended side effect of breaking Speak Language (making it also 1x.) If you mean the Doppelganger search, thanks! |
|
#9 |
Member
Join Date: Apr 2010
Posts: 86
|
Thanks for all of the help! That worked perfect.
|
#10 |
|
|