
&{template:5eDefault} {{title=Slots}}{{subheader=Gambling}} {{subheaderright=?{Bet|5} GP}} {{emote=Pulling the magical lever....}} {{rollname=}}{{roll=**Payouts**}} {{6-6-1=[[?{Bet|5}*2]] GP}} {{6-6-2=[[?{Bet|5}*3]] GP}} {{6-6-3=[[?{Bet|5}*4]] GP}} {{6-6-4=[[?{Bet|5}*5]] GP}} {{6-6-5=[[?{Bet|5}*6]] GP}} {{1-1-1=[[?{Bet|5}*4]] GP}} {{2-2-2=[[?{Bet|5}*8]] GP}} {{3-3-3=[[?{Bet|5}*10]] GP}} {{4-4-4=[[?{Bet|5}*12]] GP}} {{5-5-5=[[?{Bet|5}*24]] GP ***Winner***}} {{6-6-6=[[?{Bet|5}*36]] GP ***Jackpot***}} {{Results=[[1d6]] | [[1d6]] | [[1d6]]}} @{selected|classactioncustom1skill}
&{template:5eDefault} {{title=Zowie Slots}}{{subheader=Gambling}} {{subheaderright=?{Bet|5} GP}} {{emote=Pulling the magical lever....}} {{rollname=}}{{roll=**Payouts**}} {{6-6-1=[[?{Bet|5}*2]] GP}} {{6-6-2=[[?{Bet|5}*4]] GP}} {{6-6-3=[[?{Bet|5}*6]] GP}} {{6-6-4=[[?{Bet|5}*8]] GP}} {{6-6-5=[[?{Bet|5}*10]] GP}} {{6-6-7=[[?{Bet|5}*12]] GP}} {{6-6-8=[[?{Bet|5}*15]] GP}} {{1-1-1=[[?{Bet|5}*8]] GP}} {{2-2-2=[[?{Bet|5}*12]] GP}} {{3-3-3=[[?{Bet|5}*14]] GP}} {{4-4-4=[[?{Bet|5}*16]] GP}} {{5-5-5=[[?{Bet|5}*20]] GP}} {{6-6-6=[[?{Bet|5}*24]] GP}} {{7-7-7=[[?{Bet|5}*50]] GP ***Jackpot***}} {{8-8-8=[[?{Bet|5}*100]] GP ***Zowie!!***}} {{Results=[[1d8]] | [[1d8]] | [[1d8]]}} @{selected|classactioncustom1skill}
&{template:5eDefault} {{title=In Between}}{{subheader=Gambling}} {{subheaderright=?{Bet|10} GP}} {{emote=Come on for papa....}} {{Results=[[1d20cs>21cf>1]] • [[1d20cs>1cf>1]] • [[1d20cs>21cf>1]]}} {{odds= **5/2**}} {{payout= [[?{Bet|10}*5/2]] GP}} {{rules= Center die must be between the other two. *Tie=loss*.
**If outside dice match automatic loss.** }} @{selected|classactioncustom1skill}
&{template:5eDefault} {{title=Roulette}}{{subheader=Gambling}} {{subheaderright=?{Bet|5} GP}} {{emote=Lucky Numbers!}} {{Result=[[{1d36cs>37cf<0}*{ceil(1d2/2)}]]}} {{[[?{Bet|5}*2]] GP=Red/Green}} {{[[?{Bet|5}*2]] GP =Odd/Even}} {{[[?{Bet|5}*35]] GP=Number}} {{Number=***or Color***}} {{Bet=***♦ ?{Betting number 1-36, Red/Green, or Odd/Even| Green} ♦***}} @{selected|classactioncustom1skill}
Ziechael said:
Nice work Ed, I've thrown climb the greasy pole, catch the pig, arm wrestling, archery contests, wrestling, spell craft contests and performance contests at my players but it would be great to have something more casino based for when they hit those larger gambling dens!
Thanks for these :)
[edit] You've inspired me to see how these could be translated into powercards.
/w gm &{template:5eDefault} {{character_name=@{selected|character_name}} @{selected|show_character_name} {{title=Initiative}} {{subheader=Determines the turn order}} {{rollname=Result}} {{roll=[[1d20 + @{selected|dexterity_mod} + (@{selected|initiative}) + [[1d20*.03]] &{tracker}]]}}}It only works on a single target. is there a way to make it so I can select multiple monsters and execute the macro once?
Kaelev said:
I'm currently using this for my monster initiative macro:/w gm &{template:5eDefault} {{character_name=@{selected|character_name}} @{selected|show_character_name} {{title=Initiative}} {{subheader=Determines the turn order}} {{rollname=Result}} {{roll=[[1d20 + @{selected|dexterity_mod} + (@{selected|initiative}) + [[1d20*.03]] &{tracker}]]}}}It only works on a single target. is there a way to make it so I can select multiple monsters and execute the macro once?
&{template:pf_generic} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{name=Skill Roll}} {{?{Pick a skill to roll|Acrobatics, Acrobatics = [[1d20+[[@{Acrobatics}]]]]|Appraise, Appraise=[[1d20+[[@{Appraise}]]]]|Artistry, Artistry=[[1d20+[[@{Artistry}]]]]|Bluff, Bluff=[[1d20+[[@{Bluff}]]]]|Climb, Climb=[[1d20+[[@{Climb}]]]]|Craft, Craft=[[1d20+[[@{Craft}]]]]|Diplomacy, Diplomacy=[[1d20+[[@{Diplomacy}]]]]|Disable Device, Disable Device=[[[[& #123;1& #44;@{Disable-Device-ranks}& #125;kl1]]*(1d20+[[@{Disable-Device}]])]]|Disguise, Disguise=[[1d20+[[@{Disguise}]]]]|Escape Artist, Escape Artist=[[1d20+[[@{Escape-Artist}]]]]|Fly, Fly=[[1d20+[[@{Fly}]]]]|Handle Animal, Handle Animal=[[[[& #123;1& #44;@{Handle-Animal-ranks}& #125;kl1]]*(1d20+[[@{Handle-Animal}]])]]|Heal, Heal=[[1d20+[[@{Heal}]]]]|Intimidate, Intimidate=[[1d20+[[@{Intimidate}]]]]|Know Arcana,Know Arcana=[[[[& #123;1& #44;@{Knowledge-Arcana-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-Arcana}]])]]|Know Dungeoneering,Know Dungeoneering=[[[[& #123;1& #44;@{Knowledge-Dungeoneering-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-Dungeoneering}]])]]|Know Engineering,Know Engineering=[[[[& #123;1& #44;@{Knowledge-Engineering-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-Engineering}]])]]|Know Geography,Know Geography=[[[[& #123;1& #44;@{Knowledge-Geography-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-Geography}]])]]|Know History,Know History=[[[[& #123;1& #44;@{Knowledge-History-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-History}]])]]|Know Local,Know Local=[[[[& #123;1& #44;@{Knowledge-Local-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-Local}]])]]|Know Nature,Know Nature=[[[[& #123;1& #44;@{Knowledge-Nature-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-Nature}]])]]|Know Nobility,Know Nobility=[[[[& #123;1& #44;@{Knowledge-Nobility-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-Nobility}]])]]|Know Planes,Know Planes=[[[[& #123;1& #44;@{Knowledge-Planes-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-Planes}]])]]|Know Religion,Know Religion=[[[[& #123;1& #44;@{Knowledge-Religion-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-Religion}]])]]|Linguistics, Linguistics=[[[[& #123;1& #44;@{Linguistics-ranks}& #125;kl1]]*(1d20+[[@{Linguistics}]])]]|Lore, Lore=[[[[& #123;1& #44;@{Lore-ranks}& #125;kl1]]*(1d20+[[@{Lore}]])]]|Perception, Perception=[[1d20+[[@{Perception}]]]]|Perform, Perform=[[1d20+[[@{Perform}]]]]|Profession, Profession=[[[[& #123;1& #44;@{Profession-ranks}& #125;kl1]]*(1d20+[[@{Profession}]])]]|Ride, Ride=[[1d20+[[@{Ride}]]]]|Sense Motive, Sense Motive=[[1d20+[[@{Sense-Motive}]]]]|Sleight of Hand, Sleight of Hand=[[[[& #123;1& #44;@{Sleight-of-Hand-ranks}& #125;kl1]]*(1d20+[[@{Sleight-of-Hand}]])]]|Spellcraft, Spellcraft=[[[[& #123;1& #44;@{Spellcraft-ranks}& #125;kl1]]*(1d20+[[@{Spellcraft}]])]]|Stealth, Stealth=[[1d20+[[@{Stealth}]]]]|Survival, Survival=[[1d20+[[@{Survival}]]]]|Swim, Swim=[[1d20+[[@{Swim}]]]]|Use Magic Device, Use Magic Device=[[[[& #123;1& #44;@{Use-Magic-Device-ranks}& #125;kl1]]*(1d20+[[@{Use-Magic-Device}]]]]]]}}}
chris b. said:
For Pathfinder users (we are still here! :) ) I updated Morbidsoul's macro so that it checks whether a skill that requires training has ranks. If it does not have any ranks, it forces the result to zero. It does this by multiplying the skill (roll plus mod) by {1,@{skill-ranks}}kl1 which is the lower of 1 or the ranks, so that it either multiplies by 1 or 0. When you hover over I collapsed the calculations so you only see the roll, the 0 or 1 multiplier, and the modifier:
The key was replacing the brackets and commas with { } and , Thanks to Ed S. above, I could not figure it out until I read about also replacing the commas, that was the trick.
Why did I do this? Because I didn't want more than one macro. This way I can use one for all players and not worry. The only thing I can't do is use the dropdown to pick a skill and have each player roll separately by calling all the macros. It uses the first (or last, I forget) player's roll and modifiers. So my "roll all perceptions" and "roll all Will saves" macros are still pretty campaign specific.
Here is the macro:&{template:pf_generic} {{character_name=@{character_name}}} {{name=Skill Roll}} {{?{Pick a skill to roll|Acrobatics, Acrobatics = [[[[1d20]]+[[@{Acrobatics}]]]]|Appraise, Appraise=[[[[1d20]]+[[@{Appraise}]]]]|Artistry, Artistry=[[[[1d20]]+[[@{Artistry}]]]]|Bluff, Bluff=[[[[1d20]]+[[@{Bluff}]]]]|Climb, Climb=[[[[1d20]]+[[@{Climb}]]]]|Craft, Craft=[[[[1d20]]+[[@{Craft}]]]]|Diplomacy, Diplomacy=[[[[1d20]]+[[@{Diplomacy}]]]]|Disable Device, Disable Device=[[[[{1,@{Disable-Device-ranks}}kl1]]*([[1d20]]+[[@{Disable-Device}]])]]|Disguise, Disguise=[[[[1d20]]+[[@{Disguise}]]]]|Escape Artist, Escape Artist=[[[[1d20]]+[[@{Escape-Artist}]]]]|Fly, Fly=[[[[1d20]]+[[@{Fly}]]]]|Handle Animal, Handle Animal=[[[[{1,@{Handle-Animal-ranks}}kl1]]*([[1d20]]+[[@{Handle-Animal}]])]]|Heal, Heal=[[[[1d20]]+[[@{Heal}]]]]|Intimidate, Intimidate=[[[[1d20]]+[[@{Intimidate}]]]]|Know Arcana,Know Arcana=[[[[{1,@{Knowledge-Arcana-ranks}}kl1]]*([[1d20]]+[[@{Knowledge-Arcana}]])]]|Know Dungeoneering,Know Dungeoneering=[[[[{1,@{Knowledge-Dungeoneering-ranks}}kl1]]*([[1d20]]+[[@{Knowledge-Dungeoneering}]])]]|Know Engineering,Know Engineering=[[[[{1,@{Knowledge-Engineering-ranks}}kl1]]*([[1d20]]+[[@{Knowledge-Engineering}]])]]|Know Geography,Know Geography=[[[[{1,@{Knowledge-Geography-ranks}}kl1]]*([[1d20]]+[[@{Knowledge-Geography}]])]]|Know History,Know History=[[[[{1,@{Knowledge-History-ranks}}kl1]]*([[1d20]]+[[@{Knowledge-History}]])]]|Know Local,Know Local=[[[[{1,@{Knowledge-Local-ranks}}kl1]]*([[1d20]]+[[@{Knowledge-Local}]])]]|Know Nature,Know Nature=[[[[{1,@{Knowledge-Nature-ranks}}kl1]]*([[1d20]]+[[@{Knowledge-Nature}]])]]|Know Nobility,Know Nobility=[[[[{1,@{Knowledge-Nobility-ranks}}kl1]]*([[1d20]]+[[@{Knowledge-Nobility}]])]]|Know Planes,Know Planes=[[[[{1,@{Knowledge-Planes-ranks}}kl1]]*([[1d20]]+[[@{Knowledge-Planes}]])]]|Know Religion,Know Religion=[[[[{1,@{Knowledge-Religion-ranks}}kl1]]*([[1d20]]+[[@{Knowledge-Religion}]])]]|Linguistics, Linguistics=[[[[{1,@{Linguistics-ranks}}kl1]]*([[1d20]]+[[@{Linguistics}]])]]|Lore, Lore=[[[[{1,@{Lore-ranks}}kl1]]*([[1d20]]+[[@{Lore}]])]]|Perception, Perception=[[[[1d20]]+[[@{Perception}]]]]|Perform, Perform=[[[[1d20]]+[[@{Perform}]]]]|Profession, Profession=[[[[{1,@{Profession-ranks}}kl1]]*([[1d20]]+[[@{Profession}]])]]|Ride, Ride=[[[[1d20]]+[[@{Ride}]]]]|Sense Motive, Sense Motive=[[[[1d20]]+[[@{Sense-Motive}]]]]|Sleight of Hand, Sleight of Hand=[[[[{1,@{Sleight-of-Hand-ranks}}kl1]]*([[1d20]]+[[@{Sleight-of-Hand}]])]]|Spellcraft, Spellcraft=[[[[{1,@{Spellcraft-ranks}}kl1]]*([[1d20]]+[[@{Spellcraft}]])]]|Stealth, Stealth=[[[[1d20]]+[[@{Stealth}]]]]|Survival, Survival=[[[[1d20]]+[[@{Survival}]]]]|Swim, Swim=[[[[1d20]]+[[@{Swim}]]]]|Use Magic Device, Use Magic Device=[[[[{1,@{Use-Magic-Device-ranks}}kl1]]*([[1d20]]+[[@{Use-Magic-Device}]]]]]]}}}
@Joshua F, the macro was updated and Chris b, gave some special instructions. Check the bolded statement above.chris b. said:
For Pathfinder users (we are still here! :) ) I updated Morbidsoul's macro so that it checks whether a skill that requires training has ranks. If it does not have any ranks, it forces the result to zero. It does this by multiplying the skill (roll plus mod) by {1,@{skill-ranks}}kl1 which is the lower of 1 or the ranks, so that it either multiplies by 1 or 0. When you hover over I collapsed the calculations so you only see the roll, the 0 or 1 multiplier, and the modifier:
The key was replacing the brackets and commas with the html &# codes. Thanks to Ed S. above, I could not figure it out until I read about also replacing the commas, that was the trick.
Why did I do this? Because I didn't want more than one macro. This way I can use one for all players and not worry. The only thing I can't do is use the dropdown to pick a skill and have each player roll separately by calling all the macros. Trying to use the dropdown and pass the name of the skill to each doesn't work, since it actually passes the value which is the roll and modifiers. (I also tried a dropdown where the names and values were merely the skill names, that also just resulted in the name of the skill being printed). So my "roll all perceptions" macro is still campaign specific.
Here is the macro:
Search and replace & # with &# to remove the spaces. the forum keeps parsing it.&{template:pf_generic} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{name=Skill Roll}} {{?{Pick a skill to roll|Acrobatics, Acrobatics = [[1d20+[[@{Acrobatics}]]]]|Appraise, Appraise=[[1d20+[[@{Appraise}]]]]|Artistry, Artistry=[[1d20+[[@{Artistry}]]]]|Bluff, Bluff=[[1d20+[[@{Bluff}]]]]|Climb, Climb=[[1d20+[[@{Climb}]]]]|Craft, Craft=[[1d20+[[@{Craft}]]]]|Diplomacy, Diplomacy=[[1d20+[[@{Diplomacy}]]]]|Disable Device, Disable Device=[[[[& #123;1& #44;@{Disable-Device-ranks}& #125;kl1]]*(1d20+[[@{Disable-Device}]])]]|Disguise, Disguise=[[1d20+[[@{Disguise}]]]]|Escape Artist, Escape Artist=[[1d20+[[@{Escape-Artist}]]]]|Fly, Fly=[[1d20+[[@{Fly}]]]]|Handle Animal, Handle Animal=[[[[& #123;1& #44;@{Handle-Animal-ranks}& #125;kl1]]*(1d20+[[@{Handle-Animal}]])]]|Heal, Heal=[[1d20+[[@{Heal}]]]]|Intimidate, Intimidate=[[1d20+[[@{Intimidate}]]]]|Know Arcana,Know Arcana=[[[[& #123;1& #44;@{Knowledge-Arcana-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-Arcana}]])]]|Know Dungeoneering,Know Dungeoneering=[[[[& #123;1& #44;@{Knowledge-Dungeoneering-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-Dungeoneering}]])]]|Know Engineering,Know Engineering=[[[[& #123;1& #44;@{Knowledge-Engineering-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-Engineering}]])]]|Know Geography,Know Geography=[[[[& #123;1& #44;@{Knowledge-Geography-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-Geography}]])]]|Know History,Know History=[[[[& #123;1& #44;@{Knowledge-History-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-History}]])]]|Know Local,Know Local=[[[[& #123;1& #44;@{Knowledge-Local-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-Local}]])]]|Know Nature,Know Nature=[[[[& #123;1& #44;@{Knowledge-Nature-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-Nature}]])]]|Know Nobility,Know Nobility=[[[[& #123;1& #44;@{Knowledge-Nobility-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-Nobility}]])]]|Know Planes,Know Planes=[[[[& #123;1& #44;@{Knowledge-Planes-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-Planes}]])]]|Know Religion,Know Religion=[[[[& #123;1& #44;@{Knowledge-Religion-ranks}& #125;kl1]]*(1d20+[[@{Knowledge-Religion}]])]]|Linguistics, Linguistics=[[[[& #123;1& #44;@{Linguistics-ranks}& #125;kl1]]*(1d20+[[@{Linguistics}]])]]|Lore, Lore=[[[[& #123;1& #44;@{Lore-ranks}& #125;kl1]]*(1d20+[[@{Lore}]])]]|Perception, Perception=[[1d20+[[@{Perception}]]]]|Perform, Perform=[[1d20+[[@{Perform}]]]]|Profession, Profession=[[[[& #123;1& #44;@{Profession-ranks}& #125;kl1]]*(1d20+[[@{Profession}]])]]|Ride, Ride=[[1d20+[[@{Ride}]]]]|Sense Motive, Sense Motive=[[1d20+[[@{Sense-Motive}]]]]|Sleight of Hand, Sleight of Hand=[[[[& #123;1& #44;@{Sleight-of-Hand-ranks}& #125;kl1]]*(1d20+[[@{Sleight-of-Hand}]])]]|Spellcraft, Spellcraft=[[[[& #123;1& #44;@{Spellcraft-ranks}& #125;kl1]]*(1d20+[[@{Spellcraft}]])]]|Stealth, Stealth=[[1d20+[[@{Stealth}]]]]|Survival, Survival=[[1d20+[[@{Survival}]]]]|Swim, Swim=[[1d20+[[@{Swim}]]]]|Use Magic Device, Use Magic Device=[[[[& #123;1& #44;@{Use-Magic-Device-ranks}& #125;kl1]]*(1d20+[[@{Use-Magic-Device}]]]]]]}}}