Thread: PFRPG Ammunition Manager
-
September 4th, 2021, 12:35 #121
Probably that is all you have to do so you can change the line ActionAttack.Nat20_Original_onAttack(rSource, rTarget, rRoll) back to how it was.
Thanks! That's a great starting point for the magic ammo automation I was planning. I hadn't even thought about using Advanced Effects.Last edited by bmos; September 4th, 2021 at 12:38.
bmos' extensions
he/them
-
September 4th, 2021, 17:04 #122
Yup, that was all I needed...gonna upload a new version as soon as I get back to my PC!
It would also be sweet, while you are thinking about it, to somehow figure out how to get it so that ammo is tied to the weapon by name or something. That may be a bit trickier. Like if a person had 2 hand crossbows but only one of them had magic bolts - the bonus should only be for that one crossbow.
But you needed something more to do, right?
Thanks again!
-
September 4th, 2021, 21:19 #123bmos' extensions
he/them
-
September 6th, 2021, 06:57 #124
hmmm...getting this error in the latest hotfix (new 5E campaign with no other extensions loaded):
"[ERROR] Failed script initialization (AmmunitionManager): [string "scripts/manager_ammunition.lua"]:7: attempt to index global 'User' (a nil value)"
Any thoughts?
-
September 6th, 2021, 08:17 #125
I downloaded the code from github and, on a flyer, changed the setting of sRuleset to just "" in the global context and moved setting it to User.getRulesetName() to the onInit() function.
That seemed to fix it.
-
September 6th, 2021, 11:46 #126
Thanks
Ammunition Manager v2.6-hotfix.5
* HOTFIX: Fix INFAMMO effect not working and support INFAMMO in 5E
* HOTFIX: script error fix supplied by TheoGeek
Click here to see raw code changesbmos' extensions
he/them
-
September 19th, 2021, 05:03 #127
4E. I noticed thrown dagger ammo is not being deducted when used.
Would it be possible to add "Wand" to the weapon list? I was thinking I could track charges.
-
September 19th, 2021, 15:58 #128bmos' extensions
he/them
-
September 19th, 2021, 16:39 #129
I remember I could edit the extension file to add weapons, but I am getting it from Forge and its put in the vault. Is there another way to edit this weapon list?
I am testing with just this extension loaded. I noticed Javelin is not working also. I should note, this deduction is not working with using a power on the Powers tab. When rolling off the Combat tab for the item, it works. Same with "Wand". Works from Combat Tab, not with Power. Other weapons like Bows work correctly on both the Combat tab and Powers.
-
September 19th, 2021, 17:14 #130
Last edited by bmos; September 19th, 2021 at 17:16.
bmos' extensions
he/them
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks