AntwnBrs
March 17th, 2021, 14:31
Hello everyone,
First and foremost this is my first ever post here, so please indicate me if either the answer has been given elsewhere, or my post is misplaced. I am currently running a 5E campaign using Fantasy Grounds Unity, and one of my players is a Blood Hunter.
I have been looking to automate some of their features and homebrewed some, and at some point it would require me to add a new type of damage, called "rite damage".
I have built a custom spell for which they can make an enemy vulnerable to their rite damage and that works (meaning the spell can be cast and the effect is correctly applied), but the vulnerability is not taken into account when she attacks. After some research, I figured I would need to add a new damage type to the 5E ruleset, in order for that vulnerability to be taken into account automatically.
Problem is, I cannot really process how to do it. I managed to create a loadable extension, containing a script which must be badly written and breaking everything. The scrip only contains :
table.insert(DataCommon.dmgtypes, "rite")
This is from a post I found on this forum, but I can't seem to get it working so far... Any ideas would be very welcome !
First and foremost this is my first ever post here, so please indicate me if either the answer has been given elsewhere, or my post is misplaced. I am currently running a 5E campaign using Fantasy Grounds Unity, and one of my players is a Blood Hunter.
I have been looking to automate some of their features and homebrewed some, and at some point it would require me to add a new type of damage, called "rite damage".
I have built a custom spell for which they can make an enemy vulnerable to their rite damage and that works (meaning the spell can be cast and the effect is correctly applied), but the vulnerability is not taken into account when she attacks. After some research, I figured I would need to add a new damage type to the 5E ruleset, in order for that vulnerability to be taken into account automatically.
Problem is, I cannot really process how to do it. I managed to create a loadable extension, containing a script which must be badly written and breaking everything. The scrip only contains :
table.insert(DataCommon.dmgtypes, "rite")
This is from a post I found on this forum, but I can't seem to get it working so far... Any ideas would be very welcome !