Member
Join Date: Dec 2012
Posts: 48
|
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.
|
#1 |
Senior Member
Join Date: Feb 2012
Posts: 546
|
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 |
#2 |
|
|