Thread: Add more damage types?
-
August 10th, 2020, 09:59 #1
- Join Date
- Jun 2017
- Posts
- 3
Add more damage types?
Is there a way to add a couple more damage types to the Pathfinder ruleset? I'd like water and earth along with the resistances to be auto calculated (like fire, cold, etc). I found this example: table.insert(DataCommon.dmgtypes, "obsidian") which seems like exactly what I want, but I can't figure out how to code it. I also tried editing the PFRPG.pak and added them into the tables where they had the similar types listed but it didn't seem to do anything. Anyone know if this can be done or am I just spinning my wheels on this? Any advice appreciated.
-
August 10th, 2020, 17:37 #2
Take a look at this extension: https://www.fantasygrounds.com/forum...pass-extension You can edit it (delete all its scripts except datacommon3) I do not have so much time now, but I can answer more elaborated later there are different group of damage types doing different things but you found the most important one
EDIT: Maybe directly look at that extension: https://www.fantasygrounds.com/forum...l=1#post471426 there only damage types are added and nothing else happens such that you do not need to delete anythingMy extensions for 3.5e and Pathfinder
Bug reports please here
-
August 10th, 2020, 20:58 #3
- Join Date
- Jul 2016
- Posts
- 2,482
There is also a paid extension on dmsguild - which might work also with Pathfinder.
-
August 11th, 2020, 12:51 #4
These are the modules and extensions created and/or taken over by dellanx for PFRPG.
I had a lot of help and advice from many here at FG.
Thank You!
-
August 12th, 2020, 01:24 #5
As a follow-up, here the types of tables in regards of automation where you can add the new damagetype as string with that table.insert approach you already mentioned (think about adding DataCommon in front, e.g. DataCommon.energytypes):
energytypes := These are the damage types overvoming DR, also used for parsing RESIST and VULN effects for NPCs (that damage type will also be listed/used in the hardness parsing); the automatic parsing of such effects would otherwise ignore such damage types when not listed there.
immunetypes := (Mainly) for the automatic parsing of IMMUNE effects. Add it there when you want that the automatic parser recognizes that damage type for IMMUNE effects. Especially for informational effects of immunities against things which should not be recognized as damage type (see dmgtypes)
dmgtypes := All damage types should be added which should be recognized as damage type in damage die strings and damage actions, also used in many parsing stuff: DR, REGEN, IMMUNE, and spell damage actions (not for RESIST and VULN, for this you need to add it to energytypes)
basicdmgtypes := There you should only list damage types when they are fluid. A weapon with slashing and piercing damage type can overcome IMMUNE: slashing effects for example, because the weapon is then assumed to be piercing. In order to be immune against a basic damage type, one needs to be immune against all incoming basic damage types. When you do not need such a behaviour, then do not list it here
specialdmgtypes := These are damage types with certain special properties, the native ones are nonlethal, spell, critical, and precision. They have some special code (which then needs to be added to the scripts), but all of them have in common that they are added to existing damage types (for this you just need to add the damage type to that list). That means that e.g. DMGTYPE: precision and DMG: d6 precision will also use existing damage types of the damage roll (the d6 will then not only have precision as damage type, while DMG: d6 fire would be only fire damage). Also used for the parsing of IMMUNE effects
(parsing here is often about the parsing of NPC effects)
So, just use the extension from the second link I have linked above as a template and add table.insert(DataCommon.[any of these lists], "[your damage type]"); (but beware that it is incompatible with the other extension from above, but I can quickly make them compatible if you want. That is just due to how the script is named) Once you got the idea it is pretty easy to use that template
I would not suggest using the extension from the DMSguild because 3.5e/PF1 damage types are more complex than 5e (I do not see why it should cater all these mentioned lists of damage types) and it is really not difficult to add own damage typesLast edited by Kelrugem; August 12th, 2020 at 01:28.
My extensions for 3.5e and Pathfinder
Bug reports please here
-
August 12th, 2020, 03:32 #6
Last edited by dellanx; August 12th, 2020 at 03:42.
These are the modules and extensions created and/or taken over by dellanx for PFRPG.
I had a lot of help and advice from many here at FG.
Thank You!
-
August 12th, 2020, 05:58 #7My extensions for 3.5e and Pathfinder
Bug reports please here
-
August 14th, 2020, 19:26 #8
- Join Date
- Nov 2017
- Location
- Near Chicago, Illinois
- Posts
- 115
mythic subtype is normally only for mythic games but yes there is a mythic subtype that isnt included normally in FG.... Kel was nice enough to put bypass into his extensions so i just have the extension adding the types of dmg to my game that aren't normally there.
-
August 14th, 2020, 21:40 #9
Thank you Kelrugem!
These are the modules and extensions created and/or taken over by dellanx for PFRPG.
I had a lot of help and advice from many here at FG.
Thank You!
-
August 27th, 2020, 01:58 #10
Kelrugem,
How does one express:
fast healing 20 (epic)
Can't get this to work.
Thanks,
p.s. getting a new error error.jpgLast edited by dellanx; August 27th, 2020 at 02:04.
These are the modules and extensions created and/or taken over by dellanx for PFRPG.
I had a lot of help and advice from many here at FG.
Thank You!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks