• 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

Ghouls, martial arts....and claws.

Kat9

Member
So ghouls have Natural weapons in the form if nifty claws. A ghoul player can take Martial Arts and add +2 DV to the damage of unarmed attacks. However, because they have Natural Weapons, Unarmed Strike is not listed under their weapons and thus the +2 DV cannot be applied to their Natural Weapons. I'm not the best with the editor, so can someone show me how to add Unarmed Strike to the list of weapons?
 
In the editor, create a new file, and go to the MA: Advantage tab.

Press the "New (Copy)" button at the bottom left, and find "+1 DV for Unarmed Combat. Remember the position of the one you chose - 1st, 2nd, 3rd, etc. - unfortunately, there are 6 of them, and the Unique Id that's in parentheses after the name is cut off.

Now, press the "Eval Scripts" button on the top right.

Press the "Click to add another eval script" text.

Press the "Find Thing" button. Choose "Martial Arts Advantage" at the top, and then find the item that's in the same position as what you copied. Double-click that one.

You'll see that a string of characters has been added to this script - it'll look like:

maaBoxDV

Select and copy that string of characters, then press the "X" to the right of this second Eval Script, which will delete it - this set of steps was needed to get the Id, but you won't need a second Eval Script.

Press "OK" to leave the Eval Scripts form. Find the "Replaces Thing Id" box on the right-hand side, and paste the copied text there.

Now, at the top, in "Unique Id", add a new Id - using something similar to the original Id will make this easy to recognize as a replacement. For example, maaBoxDV1.

Okay, that gets the housekeeping out of the way. Now for the fix.

Press the "Eval Scripts" button again. This is the line that adds the damage bonus:

Code:
perform hero.child[wpUnarmed].field[wpDamage].modify[+,field[trtFinal].value,"Boxing"]

Here's that line, re-written to cover natural attacks, too (but excluding the attack of will):

Code:
foreach pick in hero from BaseWep where "Equipment.Natural & !thingid.wpAttWill"
  perform eachpick.field[wpDamage].modify[+,field[trtFinal].value,"Boxing"]
  nexteach

Press "OK" to leave the Eval Scripts, and exit the editor (unfortunately, replacements can't take advantage of the "Test Now!" button for a quick test). In the Develop menu, make sure that "Enable Data File Debugging" is checked, and then choose "Quick Reload Data Files" from that list.

If you can figure out which of those 6 items applies to the martial art your character uses, you'll only need to fix that one, or you can create replacements for all 6.

I've also got your report of this issue that was sent through the bug reporting mechanism, and I'll be adding this issue to my to-do list, so once I get the chance, I'll apply this fix for all of these - at that point, you can delete the fix file you've created.
 
I tried following those instructions, maybe I did it wrong but when I copied the martial arts it told me "Warning! This thing is non-copyable. Any changes you make to it will be ignored, it cannot be saved or duplicated."
 
Sorry I forgot about that. In that case, what you'll have to do is copy them anyway, and then create a new blank item on that same tab. Switch back and forth between the two, copying every setting from the one to the other. You won't be able to save the copy, so delete it when you're done, but you will be able to save the one you created from scratch.
 
Back
Top