Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I am trying to make the able learner feat, but do not know how. Does anyone have this?
if (hero.tagis[Settings.HouNoXMult] <> 0) then
xmult = 1
else
xmult = 0.5
endif
OK, but how do I do this? Do I open the Editor and then place this in a certain tab?
<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>
feat category to "Upbringing"
Name your feat and give it a unique id in the field directly right of the Name.
defined in the "Counts As Races" field, which doppleganger has not.
I like the code, that was a clever way to handle the problem
var diff as number
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"
diff = each.field[kUserPts].value - each.field[kUserRanks].value
~ If the ranks are different from the points spent, we add this difference to the total skill value
if ( diff <> 0) then
each.field[kModValue].value += diff
endif
nexteach