PDA

View Full Version : Pathfinder NPC Full Attack Format



Falantrius
May 8th, 2015, 01:14
Before posting, I looked for Tutorials on this as well as searching the WIKI - all I found was under USER GUIDES --> 3.5E NPC Sheet
Main Tab

The NPC sheet main tab is used for any technical details of an NPC, except spells.

For each field, enter the text exactly as published for each NPC in order to maximize automation (especially attack fields).

Then a picture
-----------------------------------------------

I'm looking for the format for FULL ATTACK. I know how to use AND - which works - for example:
+2 naginata +22/+17/+12 (2d6+15/×4) AND +1 dagger +19 (1d6+14)

However, I have several NPC that have both a katana, composite bow and dagger attack :
+2 katana +19/+14/+9 (2d8+8/x3) OR +1 composite longbow +22/+17 (1d6+8/x3) OR +1 composite longbow multi-attack +21/+21/+16 (1d6+9/x3) OR +3 dagger +15/+10 (1d4+6) OR +3 dagger backstab +17 (1d4+6+4d6+poison)

Its not recognizing the OR - its just seeing the first attack. When I say "recognizing" I mean that the first attack - gives me a hand and turns the attack blue letting me drag it to the chat window and hover over the damage gives me a hand to drag it over to the chat window. The second attacks aren't giving me a hand or turning blue.

What I the proper format for multiple attacks for an NPC or player character?

Thanks in advance.

Trenloe
May 8th, 2015, 01:25
Short answer: user lowercase or.

The format follows the Paizo statblock standard. Look in the Paizo PRD for plenty of examples: https://paizo.com/pathfinderRPG/prd/monsters/monsterIndex.html Or open the PFRPG Bestiary module for lots of examples in FG format.

A quick search of the forums will show up a few threads where this has been asked before. As you're experiencing, the community is very good at answering people's questions, so don't just limit your search to the wiki, search the forums as well. :)

Falantrius
May 8th, 2015, 07:46
Tried searching the forums first - guess I didn't know what or how to search for it. Got lots of threads - none having anything to do with what I was looking for.

Why is it case sensitive? You'd think they would implement it case Insensitive.

Nickademus
May 9th, 2015, 03:16
The two strings that are entered in the datacommon.lua file are 'and' & 'or'. Literally those combinations of letters. It would increase the work of the program to have to search for all the combinations of capitals and lowercase instead of just two (i.e. 'And', 'Or', 'AND', 'OR', 'and', & 'or'). That's triple the work every time it looks at the attack string. (It looks whether there is an 'and/or' or not.)

Why can't you just use a semicolon between sets of full attacks?

+2 katana +19/+14/+9 (2d8+8/x3);+1 composite longbow +22/+17 (1d6+8/x3); +1 composite longbow multi-attack +21/+21/+16 (1d6+9/x3); +3 dagger +15/+10 (1d4+6); +3 dagger backstab +17 (1d4+6+4d6+poison)

Falantrius
May 11th, 2015, 01:58
As for coding codes, you can't simply do a CaseInsensative(string) compare OR just string = lowercase(string) the whole string prior to doing the compare?

Is the ";" interchangeable with "or"

Can "," be used for "and"?

For example, how would I enter this in for a FULL ATTACK:
Melee bite +37 (4d8+15/15–20/×3 plus grab), 2 claws +37 (1d12+15), 2 gores +37 (1d10+15), tail slap +32 (3d8+7)

Ranged 6 spines +25 (2d10+15/×3)

Would I just put a "or" before Ranged?

Nickademus
May 11th, 2015, 03:51
The semicolon is the delimiter for FG's parsing. That's not the same as "or", but it will separate entries in the full attack action field like you are wanting. A comma is not a delimiter and thus shouldn't be used.

bite +37 (4d8+15/15–20/×3 plus grab) and 2 claws +37 (1d12+15) and 2 gores +37 (1d10+15) and tail slap +32 (3d8+7); 6 spines +25 ranged (2d10+15/×3)

(Notice that the heading 'Melee' and 'Ranged' aren't used in FG. Instead, the attack type appears after the modifier.)

Edit: Some of this (https://www.fantasygrounds.com/forums/showthread.php?22633-pathfinder-combat-tracker&p=192486&viewfull=1#post192486) might help, though it doesn't cover the full attack action. Just use 'and' for combined attacks and ';' to separate groups of attacks as above.

Trenloe
May 11th, 2015, 04:00
Is the ";" interchangeable with "or"
Yes.


Can "," be used for "and"?
Not reliably. If you want it to work properly, use and.


For example, how would I enter this in for a FULL ATTACK:
Melee bite +37 (4d8+15/15–20/×3 plus grab), 2 claws +37 (1d12+15), 2 gores +37 (1d10+15), tail slap +32 (3d8+7)

Ranged 6 spines +25 (2d10+15/×3)

Would I just put a "or" before Ranged?
bite +37 (4d8+15/15-20/x3) and 2 claws +37 (1d12+15) and 2 gores +37 (1d10+15) and tail slap +32 (3d8+7) or 6 spines +25 ranged (2d10+15/x3)

(note the x (letter) for x3 - keep an eye out for copying/pasting using a different character (looks like the letter x, but it isn't) - you can tell if you look closely, the letter x is "grounded" at the bottom of the text line, whereas the × floats above the bottom of the text line.

Falantrius
May 11th, 2015, 08:05
Yes.


Not reliably. If you want it to work properly, use and.


bite +37 (4d8+15/15-20/x3) and 2 claws +37 (1d12+15) and 2 gores +37 (1d10+15) and tail slap +32 (3d8+7) or 6 spines +25 ranged (2d10+15/x3)

(note the x (letter) for x3 - keep an eye out for copying/pasting using a different character (looks like the letter x, but it isn't) - you can tell if you look closely, the letter x is "grounded" at the bottom of the text line, whereas the × floats above the bottom of the text line.

Thanks - that's very helpful.