Junior Member
Join Date: Sep 2014
Posts: 14
|
I needed to get this put together for a gaming session soon. I can shoot it to you guys as soon as I am done for the community set. I need a bit of help with the coding.
1.) How to add a new spell level per level. I stole this from the Enlightened fist, and altered it to be divine, but how 2.) I added class special ability fast movement, stolen from the scout, but it does not seem to actually increase the speed. Where can I make the edits for that. 3.) Any idea on what to do with sacred fire. I have no idea how to create that at all. I know, that's most of the class right there, but at least I got the blindsense, I hope. |
#1 |
Senior Member
Join Date: Jul 2012
Location: Texas
Posts: 707
|
1> This one can be accomplished in the new class you're creating in the editor. there are to buttons that allow you to modify the spells available and the how they progress by level. see below.
2> ITs difficult to help on this without knowing what was added and where. It could be a timing issue (as is often the case) or the code you "cannibalized" is looking for old reference points as it relates to the scout. Sendric, Fox of Shadow are better at defining the exact code smith wording, but without seeing what you are doing its difficult to help. I would suggest a sampling of your code or a link to the User file so its clear what is being done and the goal to accomplish. 3> Not sure what you are referencing... is this Smite of Sacred Fire from the "Forge of War" http://dndtools.pw/spells/forge-war-...ed-fire--3558/ Hope it helps |
#2 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
Also, a description of the ability might help to make sure we don't get any of the particulars wrong. Please provide a description of this ability. |
|
#3 |
Junior Member
Join Date: Sep 2014
Posts: 14
|
OK, I got issue 1 working. If there is a descrepency between text and table, do you think I should go with text. That's what I have for now.
Issue 2- It is +10 to land speed at level 3, plus 20 at 6, and plus 30 at 8 Here is the script I poached, I changed the instance fro HelpSct to Help SCF var result as number ~ If we fail the test for being speedy, get out if (hero.tagis[Encumbered.Heavy] + hero.tagis[Encumbered.Medium] > 0) then result = assign[Helper.SpcDisable] done elseif (hero.tagis[Hero.HeavyArmor] <> 0) then result = assign[Helper.SpcDisable] elseif (hero.tagis[Hero.MedArmor] <> 0) then result = assign[Helper.SpcDisable] done endif ~ We passed, so set our bonus var level as number level = hero.child[cHelpSCF].field[cTotalLev].value var bonus as number if (level >= 8) then bonus = 30 elseif (level >= 6) then bonus = 20 elseif (level >= 3) then bonus = 10 endif ~ Add an Enhancement Bonus to our speed hero.child[Speed].field[BonEnhance].value = maximum(hero.child[Speed].field[BonEnhance].value, bonus) ~ Set our names field[livename].text = "Fast Movement +" & bonus & "" field[xSumm].text = "+" & bonus & " enhancement bonus to speed when in Light armor and unencumbered" 3.) Here is the description of the ability. Sacred Flames (Su): At 4th level, a sacred fist may use a standard action to invoke sacred flames around his hands and feet. These flames add to the sacred fist's unarmed damage. The additional damage is equal to the sacred fist's class level plus his Wisdom modifier (if any). Half the damage is fire damage (round up), and the rest is sacred energy and thus not subject to effects that reduce fire damage. The sacred flames last 1 minute and can be invoked once per day. At 8th level, a sacred fist can invoke sacred flames twice per day. Thanks guys for the help. |
#4 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
Quote:
Post-Attributes/10000 Code:
if (field[hIsOn1].value <> 0) then var bonus as number bonus = field[xTotalLev].value + hero.child[aWIS].field[aModBonus].value hero.childfound[wUnarmed].field[wDamBonus].value += bonus endif |
||
#5 |
Junior Member
Join Date: Sep 2014
Posts: 14
|
OK, timing is at the recomended amount, and in edit timing it shows After Scripts: Encumber Final.
|
#6 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
Edit: Nevermind. That's new. It would appear that the recent update to HL has provided more information for timing stuff. Since your script is checking encumbrance, it's good that it is running after Encumber Final. Anyway, does the script work now? Last edited by Sendric; May 1st, 2015 at 04:47 AM. |
|
#7 |
Senior Member
Join Date: Mar 2011
Location: USA
Posts: 383
|
I was looking to to play a sacred fist and I noticed it isn't an options. Has anyone finished it?
Thanks |
#8 |
Senior Member
Join Date: Mar 2013
Location: Melbourne, Australia
Posts: 1,107
|
You could send a private message to xkaliburr, and ask if they could share their user file. I note that they haven't been active on the forums since posting the above messages, so you may not get a reply.
Current RPG's: Pathfinder (GM), Pathfinder (Player), Gamma World (GM, Pathfinder homebrew). HeroLab: 3.5 & Pathfinder. HL User Files for PF: Greyhawk Setting, Gamma World (WIP). DM and player of D&D since 1980. |
#9 |
Senior Member
Join Date: Mar 2011
Location: USA
Posts: 383
|
Thanks Dami. I will message them but not holding out hope.
|
#10 |
|
|