Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Shadowrun (http://forums.wolflair.com/forumdisplay.php?f=75)
-   -   Adding AP to a power (http://forums.wolflair.com/showthread.php?t=49674)

Agonar June 12th, 2014 08:16 PM

Adding AP to a power
 
I am basically trying to custom create an Adept power from sr4 into sr5. The power is Penetrating Strike. If I could afford to purchase the sr4 files, I would, but I am only bringing in select few options, until we have actual sr5 options, so it's not very economical for me.

The effect is basically a -1 AP applied to unarmed combat, per level of the power (to a max of 3 levels).

I have the custom power factoring the cost right, the max levels, but I cannot for the life of me figure out how to have it add -1 AP per level.

I tried a bootstrap, where I entered wpUnarmed for the thing, and in a field, tried entering wpAP, -1 for the value.. and this sort of worked. It applied a flat -1 AP, but gave me a popup with a bunch of missing eval script lines...

So basically, anyone know what I am missing?

ShadowWalker June 13th, 2014 07:05 AM

Try using Eval Scripts and putting it in a Trait script.

Mathias June 13th, 2014 07:21 AM

Think about the SR5 powers that exist - are there any that are similar? Perhaps one that's adding +1 DV to all unarmed attacks?

Study its script - how does that function?

Next, in the Develop menu, make sure "Enable Data File Debugging" is turned on, and add several weapons to a test character. Right-click those weapons, and choose "Show Debug Fields for XXXXX" - compare the different weapons, and you'll be able to figure out which field stores the AP - then, you can modify the script you've got to subtract from AP, instead of adding to DV. From there, you can modify the script further to be based on ranks, and to always choose unarmed, rather than selecting a combat skill to be based upon.

Agonar June 13th, 2014 07:53 PM

I tried this, which I borrowed from Mystic Armor and tweaked

~add our rating to the AP ratings of the unarmed attacks
hero.child[wpUnarmed].field[wpAP].- value = field[trtFinal].value

and this borrowed from Critical Strike and tweaked

hero.child[wpUnarmed].field[wpAP].modify[-,field[trtFinal].value,""]



So I tried a boostrap, for wpUnarmed, with a Field id of wpAP, value -1
and it will apply the first -1 to unarmed AP, but not 1 per level.. but then I also get a ton of linkage basis errors in the calc advance.

I think maybe I need to study the guides more, and try to wrap my head around how the shadowrun bits would be different from pathfinder bits.

devidrignmc June 23rd, 2014 01:45 AM

you are missing some things friend.

day picnic in delhi


All times are GMT -8. The time now is 06:37 AM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.