Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
tcharleschapman
Member
 
Join Date: Dec 2012
Posts: 48

Old February 28th, 2015, 09:09 AM
I would like to make an item like "Amulet of mighty Fists" that would transfer a bonus to a weapon you throw. I want it to apply to only thrown weapons. Any help you all can give me in coding it? Literally I want a bracers slot amulet of mighty fist that applies to thrown weapons instead but I can't work out the kinks.
tcharleschapman is offline   #1 Reply With Quote
Quintain
Senior Member
 
Join Date: Feb 2012
Posts: 546

Old February 28th, 2015, 10:12 AM
This is fairly simple conceptually.

Take the amulet of mighty fists, copy it into a new item, change it's ID to match what you want, change the slot from neck to wrists, and look at the eval script. It will likely have some sort of foreach loop that checks for unarmed strikes or natural weapons. You just need to strip out the unarmed strikes and change natural weapons to thrown weapons.

I did just that below:

Code:
      if (field[gIsEquip].value <> 0) then
        foreach pick in hero from BaseWep where "wCategory.Thrown"
          #enhancementbonus[eachpick, 5]
          nexteach
        endif
Quintain is offline   #2 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 05:31 PM.


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