Confusion Macro

Discussion concerning lmarkus' campaign framework for D&D3.x and Pathfinder.

Moderators: dorpond, trevor, Azhrei, giliath, Gamerdude, jay, Mr.Ice, lmarkus001

Forum rules
Discussion regarding lmarkus001's framework only. Other posts deleted without notice! :)
Post Reply
neofax
Great Wyrm
Posts: 1694
Joined: Tue May 26, 2009 8:51 pm
Location: Philadelphia, PA
Contact:

Confusion Macro

Post by neofax »

Ran into this during or game tonight, so I made a macro to roll the dice in the open:

Code: Select all

[H: "<!-- Rolls for Pathfinder Confusion -->"]
[H: system = getLibProperty("System", "Lib:GlobalsSRDPF")]
[H, SWITCH(system), CODE:
	case "Pathfinder":
		{
		[ tableName = "ConfusedPathfinder" ]
		};
	case "D&D3.5":
		{
		[H: tableName = "Confused"]
		};
	default:
		{
		[H: tableName = "Confused"]
		}]
[H: dieRoll = 1d100]
[H: stringConfusion = table(tableName, dieRoll)]
[H: output = "You rolled a " + dieRoll + " and suffer: " + stringConfusion]
[R: output]
Others can change it to add all of the HTML SPAN and DIV as I have no HTML skills to make it look pretty.
Image
Time-Zone information UTC -5

User avatar
lmarkus001
Great Wyrm
Posts: 1867
Joined: Sat Mar 29, 2008 12:30 am
Location: Layfayette Hill, PA

Re: Confusion Macro

Post by lmarkus001 »

Alternately, the player can just click on the Confused table and it will generate a result to chat...

Ah I see, this exposes what was rolled.

If you want to support role-playing, change the output to [R,S,G: output ] that way the other players can't metagame it...

neofax
Great Wyrm
Posts: 1694
Joined: Tue May 26, 2009 8:51 pm
Location: Philadelphia, PA
Contact:

Re: Confusion Macro

Post by neofax »

lmarkus001 wrote:Alternately, the player can just click on the Confused table and it will generate a result to chat...

Ah I see, this exposes what was rolled.

If you want to support role-playing, change the output to [R,S,G: output ] that way the other players can't metagame it...
True and will update the macro as I want to apply quotes around the confusion text and make it red like when rolling from the table.
Image
Time-Zone information UTC -5

User avatar
lmarkus001
Great Wyrm
Posts: 1867
Joined: Sat Mar 29, 2008 12:30 am
Location: Layfayette Hill, PA

Re: Confusion Macro

Post by lmarkus001 »

Cheap and dirty output. This will put the text to chat and the dieRoll in an ugly tooltip:

Code: Select all

[R,S,G,T(table(tableName, dieRoll) ): dieroll]

Post Reply

Return to “D&D 3.5/Pathfinder 1e Campaign Macros”