Template:Trap: Difference between revisions

From Epic Path
Jump to navigation Jump to search
No edit summary
No edit summary
Line 83: Line 83:
#vardefine:CR|{{{CR|1}}}
#vardefine:CR|{{{CR|1}}}
}}{{
}}{{
#vardefine:Adjusted-CR|{{#if:{{{CR|}}}|{{#expr:{{{CR}}} + {{#if:{{{Complication-1|}}}|{{#ifexpr:{{:{{{Complication-1}}}|transcludesection=CR-Adj}}|{{:{{{Complication-1}}}|transcludesection=CR-Adj}}|0}}|0}} + {{#if:{{{Complication-2|}}}|{{#ifexpr:{{:{{{Complication-2}}}|transcludesection=CR-Adj}}|{{:{{{Complication-2}}}|transcludesection=CR-Adj}}|0}}|0}}}}|1}}
#vardefine:Adjusted-CR|{{#expr:{{{CR|1}}} + {{#if:{{{Complication-1|}}}|{{#ifexpr:{{:{{{Complication-1}}}|transcludesection=CR-Adj}}|{{:{{{Complication-1}}}|transcludesection=CR-Adj}}|0}}|0}} + {{#if:{{{Complication-2|}}}|{{#ifexpr:{{:{{{Complication-2}}}|transcludesection=CR-Adj}}|{{:{{{Complication-2}}}|transcludesection=CR-Adj}}|0}}|0}}}}
}}{{
}}{{
#vardefine:Complication-1|{{{Complication-1|}}}
#vardefine:Complication-1|{{{Complication-1|}}}
Line 93: Line 93:
#vardefine:Passive-Perception|{{#expr: {{Challenging-Skill-DC|transcludesection={{#expr:{{{CR|1}}} + {{#if:{{{Complication-1|}}}|{{#ifexpr:{{:{{{Complication-1}}}|transcludesection=Perception-Adj}}|{{:{{{Complication-1}}}|transcludesection=Perception-Adj}}|0}}|0}} + {{#if:{{{Complication-2|}}}|{{#ifexpr:{{:{{{Complication-2}}}|transcludesection=Perception-Adj}}|{{:{{{Complication-2}}}|transcludesection=Perception-Adj}}|0}}|0}}}}}} - 2 + {{#ifexpr:{{{Nudge-Passive-Perception|}}}|{{{Nudge-Passive-Perception|}}}|0}}}}
#vardefine:Passive-Perception|{{#expr: {{Challenging-Skill-DC|transcludesection={{#expr:{{{CR|1}}} + {{#if:{{{Complication-1|}}}|{{#ifexpr:{{:{{{Complication-1}}}|transcludesection=Perception-Adj}}|{{:{{{Complication-1}}}|transcludesection=Perception-Adj}}|0}}|0}} + {{#if:{{{Complication-2|}}}|{{#ifexpr:{{:{{{Complication-2}}}|transcludesection=Perception-Adj}}|{{:{{{Complication-2}}}|transcludesection=Perception-Adj}}|0}}|0}}}}}} - 2 + {{#ifexpr:{{{Nudge-Passive-Perception|}}}|{{{Nudge-Passive-Perception|}}}|0}}}}
}}{{
}}{{
#vardefine:Maneuver-Defense|{{#expr:{{Challenging-Skill-DC|transcludesection={{#expr:{{{CR}}} + {{#if:{{{Complication-1|}}}|{{#ifexpr:{{:{{{Complication-1}}}|transcludesection=Maneuver-Defense-Adj}}|{{:{{{Complication-1}}}|transcludesection=Maneuver-Defense-Adj}}|0}}|0}} + {{#if:{{{Complication-2|}}}|{{#ifexpr:{{:{{{Complication-2}}}|transcludesection=Maneuver-Defense-Adj}}|{{:{{{Complication-2}}}|transcludesection=Maneuver-Defense-Adj}}|0}}|0}}}}}} + {{#ifexpr:{{{Nudge-Maneuver-Defense|}}}|{{{Nudge-Maneuver-Defense|}}}|0}}}}
#vardefine:Spot-DC|{{#expr: {{Challenging-Skill-DC|transcludesection={{#expr:{{{CR|1}}} + {{#if:{{{Complication-1|}}}|{{#ifexpr:{{:{{{Complication-1}}}|transcludesection=Stealth-Adj}}|{{:{{{Complication-1}}}|transcludesection=Stealth-Adj}}|0}}|0}} + {{#if:{{{Complication-2|}}}|{{#ifexpr:{{:{{{Complication-2}}}|transcludesection=Stealth-Adj}}|{{:{{{Complication-2}}}|transcludesection=Stealth-Adj}}|0}}|0}}}}}} - 2 + {{#ifexpr:{{{Nudge-Stealth-Value|}}}|{{{Nudge-Stealth-Value|}}}|0}}}}
}}{{
#vardefine:Maneuver-Defense|{{#expr:{{Challenging-Skill-DC|transcludesection={{#expr:{{{CR|1}}} + {{#if:{{{Complication-1|}}}|{{#ifexpr:{{:{{{Complication-1}}}|transcludesection=Maneuver-Defense-Adj}}|{{:{{{Complication-1}}}|transcludesection=Maneuver-Defense-Adj}}|0}}|0}} + {{#if:{{{Complication-2|}}}|{{#ifexpr:{{:{{{Complication-2}}}|transcludesection=Maneuver-Defense-Adj}}|{{:{{{Complication-2}}}|transcludesection=Maneuver-Defense-Adj}}|0}}|0}}}}}} + {{#ifexpr:{{{Nudge-Maneuver-Defense|}}}|{{{Nudge-Maneuver-Defense|}}}|0}}}}
}}{{
}}{{
#vardefine:Durability|{{#switch: {{#var:Adjusted-CR}}
#vardefine:Durability|{{#switch: {{#var:Adjusted-CR}}
Line 142: Line 144:
}}{{
}}{{
#vardefine:To-Hit|{{MonsterToHit|transcludesection={{#ifexpr:{{{CR}}} + {{#if:{{{Complication-1|}}}|{{#ifexpr:{{:{{{Complication-1}}}|transcludesection=To-Hit-Adj}}|{{:{{{Complication-1}}}|transcludesection=To-Hit-Adj}}|0}}|0}} + {{#if:{{{Complication-2|}}}|{{#ifexpr:{{:{{{Complication-2}}}|transcludesection=To-Hit-Adj}}|{{:{{{Complication-2}}}|transcludesection=To-Hit-Adj}}|0}}|0}}<1|1|{{#ifexpr:{{{CR}}} + {{#if:{{{Complication-1|}}}|{{#ifexpr:{{:{{{Complication-1}}}|transcludesection=To-Hit-Adj}}|{{:{{{Complication-1}}}|transcludesection=To-Hit-Adj}}|0}}|0}} + {{#if:{{{Complication-2|}}}|{{#ifexpr:{{:{{{Complication-2}}}|transcludesection=To-Hit-Adj}}|{{:{{{Complication-2}}}|transcludesection=To-Hit-Adj}}|0}}|0}}>44|44|{{#expr:{{{CR}}} + {{#if:{{{Complication-1|}}}|{{#ifexpr:{{:{{{Complication-1}}}|transcludesection=To-Hit-Adj}}|{{:{{{Complication-1}}}|transcludesection=To-Hit-Adj}}|0}}|0}} + {{#if:{{{Complication-2|}}}|{{#ifexpr:{{:{{{Complication-2}}}|transcludesection=To-Hit-Adj}}|{{:{{{Complication-2}}}|transcludesection=To-Hit-Adj}}|0}}|0}}}}}}}}}}
#vardefine:To-Hit|{{MonsterToHit|transcludesection={{#ifexpr:{{{CR}}} + {{#if:{{{Complication-1|}}}|{{#ifexpr:{{:{{{Complication-1}}}|transcludesection=To-Hit-Adj}}|{{:{{{Complication-1}}}|transcludesection=To-Hit-Adj}}|0}}|0}} + {{#if:{{{Complication-2|}}}|{{#ifexpr:{{:{{{Complication-2}}}|transcludesection=To-Hit-Adj}}|{{:{{{Complication-2}}}|transcludesection=To-Hit-Adj}}|0}}|0}}<1|1|{{#ifexpr:{{{CR}}} + {{#if:{{{Complication-1|}}}|{{#ifexpr:{{:{{{Complication-1}}}|transcludesection=To-Hit-Adj}}|{{:{{{Complication-1}}}|transcludesection=To-Hit-Adj}}|0}}|0}} + {{#if:{{{Complication-2|}}}|{{#ifexpr:{{:{{{Complication-2}}}|transcludesection=To-Hit-Adj}}|{{:{{{Complication-2}}}|transcludesection=To-Hit-Adj}}|0}}|0}}>44|44|{{#expr:{{{CR}}} + {{#if:{{{Complication-1|}}}|{{#ifexpr:{{:{{{Complication-1}}}|transcludesection=To-Hit-Adj}}|{{:{{{Complication-1}}}|transcludesection=To-Hit-Adj}}|0}}|0}} + {{#if:{{{Complication-2|}}}|{{#ifexpr:{{:{{{Complication-2}}}|transcludesection=To-Hit-Adj}}|{{:{{{Complication-2}}}|transcludesection=To-Hit-Adj}}|0}}|0}}}}}}}}}}
}}
}}{{
#vardefine:Action-Points|{{#expr: {{#if:{{{Complication-1|}}}|{{#ifexpr:{{:{{{Complication-1}}}|transcludesection=Action-Points}}|{{:{{{Complication-1}}}|transcludesection=Action-Points}}|0}}|0}} + {{#if:{{{Complication-2|}}}|{{#ifexpr:{{:{{{Complication-2}}}|transcludesection=Action-Points}}|{{:{{{Complication-2}}}|transcludesection=Action-Points}}|0}}|0}} }}
}}<!--
 
 
 
  START OF LEFT COLUMN
 
 
 
--><div id="page-2column-left"><h2 class="bestiary_main">{{PAGENAME}} {{Smaller|(CR {{#var:Adjusted-CR}} Trap)}}</h2>
{| width="99%" style="{{class-gradient|druid}}; text-align:center; font-size:80%;" border="0px"
|-
! '''''{{{Trap-Complexity}}} Complexity{{#if:{{{Keyword-1|}}}|&nbsp;&ndash;&nbsp;{{{Keyword-1}}}|}}{{#if:{{{Keyword-2|}}}|&nbsp;&ndash;&nbsp;{{{Keyword-2}}}|}}{{#if:{{{Keyword-3|}}}|&nbsp;&ndash;&nbsp;{{{Keyword-3}}}|}}'''''
|}
<p></p>
* '''Spot DC:''' {{#var:Spot-DC}}
* '''Detection Sense:''' {{{Triggering-Sense}}} {{{Triggering-Sense-Range}}} ft. {{#ifexpr:{{{Triggering-Sense-Range}}}|({{#expr:{{{Triggering-Sense-Range}}}/5 round 0}} squares)|}}{{#if:{{{Triggering-Sense-Notes|}}}|{{#!:
:* {{{Triggering-Sense-Notes}}}
}}|}}
:* '''Passive Perception:''' {{#var:Passive-Perception}}
* '''Initiative:'''
</div>

Revision as of 15:54, 14 January 2022

Trap (CR 1 Trap)

{{{Trap-Complexity}}} Complexity

  • Spot DC: 13
  • Detection Sense: {{{Triggering-Sense}}} {{{Triggering-Sense-Range}}} ft. Expression error: Unrecognized punctuation character "{".
  • Passive Perception: 13
  • Initiative: