• 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

Sacred Fist Help

xkaliburr

Member
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> 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.
attachment.php



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--105/smite-sacred-fire--3558/

Hope it helps
 

Attachments

  • Question 1.png
    Question 1.png
    381.1 KB · Views: 60
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.

As Dark Lord Galen said above, we'll need more info here. Can you provide the code you used and the timing? If you don't know what I mean by this, then posting your .user file would probably be best.

Also, a description of the ability might help to make sure we don't get any of the particulars wrong.

3.) Any idea on what to do with sacred fire. I have no idea how to create that at all.

Please provide a description of this ability.
 
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.
 
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

The code looks ok enough to work. However, you didn't list the timing. By that, I mean the phase and priority. These are critical to getting a script to work properly. The Scout ability is using Final Phase (Users)/100. I would recommend setting your script to the same time to see if it works.

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.

This doesn't look too bad. You will need to set up an Activation Name, then create a script that adds damage to Unarmed Strike when activated. Something like:

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

That's off the top of my head, so give it a try and let me know if it doesn't work. We may have to play around with the timing, but since you need to use your Wisdom bonus, it has to occur post-attributes or later.
 
OK, timing is at the recomended amount, and in edit timing it shows After Scripts: Encumber Final.

I'm sorry. I don't understand what this means. Where are you seeing Encumber Final? I'm not familiar with that.

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:
I was looking to to play a sacred fist and I noticed it isn't an options. Has anyone finished it?
Thanks
 
I was looking to to play a sacred fist and I noticed it isn't an options. Has anyone finished it?
Thanks

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.
 
Back
Top