Skip to content

Test page

Anderware edited this page Nov 19, 2021 · 2 revisions
Attribute Value Attribute Value
Item Type PROPERTY Name 00 - Weapon Attack Roll
Data Type label Key WEAPON_ATTACK_ROLL__COPY_
Tag Weapon Attack Roll Tooltip
Hidden false Label Size Fit
Label Format Die Font Group
Input Group Rollable true
Roll Name #{name} Roll ID WEAPON_ATTACK_ROLL_ROLL
Roll Formula $<10;if[@{COMBAT_STANCE_OFFENSIVE}:true,0,
 ELSE if[@{COMBAT_STANCE_DEFENSIVE}:true, -2,
  ELSE if[@{COMBAT_STANCE_RUN_AWAY}:true,-5,0]
  ]
 ]
>
$<11;@{SKILL_LEVEL} +#{WEAPON_RATING} + $10 + d{SITUATIONAL_MODIFIER}>
$<12;($11)d3-($11)>
$<13;@{DAMAGE_BONUS} + #{WEAPON_DAMAGE}>
$<14;max(#{diff},1)>
$<15;%[1d6,
 1:Left arm,
 2:Right arm,
 3:Left leg,
 4:Right leg,
 5:Torso,
 6:Head]
>
$<16;min(ceil((($13-1)/$14)*($12-$14)+1),$13)>
$<19;if[$12:0,-1,$12]>
$12
&&$19;
 0:FUMBLE!,
 1:MISS!,
 $14:Hit(Damage $16) in area $15,
 ceil($14*1.25):Solid hit(Damage $16) in area $15,
 ceil($14*1.5):Excellent hit(Damage $16) in area $15,
 ceil($14*1.75):Extraordinary hit(Damage $16) in area $15,
 $14*2: Perfect hit(Damage $13) in Designated Target area or area $15
&&
Has Dialog true
Dialog Panel MULTIPANEL_MODIFIERS

Clone this wiki locally