@@ -1403,6 +1403,17 @@ ARMOR_CLASS_ATTRIBUTE = new Attribute({
1403
1403
} ,
1404
1404
} ) ;
1405
1405
1406
+ AC_WHEN_BLOCKING_ATTRIBUTE = new Attribute ( {
1407
+ path : "armor_class_blocking" ,
1408
+ name : "AC when blocking" ,
1409
+ calculateFunction : characterData => {
1410
+ return {
1411
+ value : "17 vs 1 Attack" ,
1412
+ tooltip : "TODO" ,
1413
+ } ;
1414
+ } ,
1415
+ } ) ;
1416
+
1406
1417
function getActiveEffects ( characterModel ) {
1407
1418
const effects = [ ] ;
1408
1419
@@ -3014,6 +3025,11 @@ function renderPage(characterName) {
3014
3025
characterModel : characterModel ,
3015
3026
attribute : "armor_class" ,
3016
3027
} ) ,
3028
+ new SectionEntry ( {
3029
+ mainKeyText : "AC when blocking" ,
3030
+ characterModel : characterModel ,
3031
+ attribute : "armor_class_blocking" ,
3032
+ } ) ,
3017
3033
actionKeyValue ( "Save vs" , "Reflex" , characterModel , "save_throws.dexterity" , "" , "1d20" ) ,
3018
3034
actionKeyValue ( "Save vs" , "Fortitude" , characterModel , "save_throws.constitution" , "" , "1d20" ) ,
3019
3035
actionKeyValue ( "Save vs" , "Will" , characterModel , "save_throws.wisdom" , "" , "1d20" ) ,
0 commit comments