• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

quick coding help

stargazer_dragon

Well-known member
I want to redo this code to set it to Air elemental type automatically and to set it to check Character level instead of Class Level. Is being used with elemental Strike Bloodrager power that is being granted to a specific race in the form of a racial feat. -- Power ID is -- cBlrElStrk -remaking the class power into a Racial power that basicaly does the same thing. Other parts of the blood line will also be used for other feats.



if (field[xIndex].value>= 3) then
field[listname].text = field[thingname].text & " (Constant)"
elseif (field[xIndex].value>= 3) then
field[listname].text = field[thingname].text & " (5/day)"
else
field[listname].text = field[thingname].text & " (3/day)"
endif

~if we're not the first copy, just get out now
doneif (tagis[Helper.FirstCopy] = 0)

~if we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)

~ Pull the blood energy tag from our root
perform root.pulltags[BloodEner.?]

var element as string
element = tagnames[BloodEner.?]

field[abSumm].text ="As swift action, your melee attacks do an additional 1d6 of " & element & " damage."

if (field[xCount].value>= 3) then
perform delete[User.Tracker]
perform tagreplace[Usage.?,Usage.Constant]
elseif (field[xCount].value>= 2) then
field[trkMax].value += 5
else
field[trkMax].value += 3
endif
 
Additional details

The race I am working on has strong elemental ties to Electricity

I felt granting them all the powers I wanted would break them unless it came at a cost. So I am using the elemental Bloodline Powers from the Bloodrager as they pretty much do exactly what I want.

At 1st Level I wanted to allow them a feat that starts the bloodline feats tree and grants the Elemental strike power

They currently have Electric Immunity and Water Vulnerability, Thus instead of Electric Resist at 3rd Level I plan to make a feat that Grants 10 resistance to Water Based attacks Calculated after Vulnerability. This removed all of the damage from some attacks and reduces the damage from others

at 6th Level I plan to make a feat that allows them to Make a Electric Breath attack that is basically Burning Hands as a breath weapon that deals electric damage usable 1+ 1 per char mod times per day

at 9th Level I wanted to allow a feat that Removes the water Vulnerability and Water resist Leaving them with there electric Immunity

at 10th Level I wanted to make a feat that Grants the flight power --ID cBlrEleMov Air type

Each Feat will require the feat before it in the line


----

Making a few Feat lines for new races in line with the Drow/ aasimar/teifling/dampyr feat lines. Also balancing all the base races to the 10 point buy of the custom races, meaning some of the races lost a smidge many gained a smidge but all conform to balanced system. Figured race feats that emulate some of the class features wouldn't be to OP considering they eat up all the non bonus feats for the first 10 levels to do it.
 
Last edited:
Back
Top