New source found from dndbeyond.com
This commit is contained in:
+1
-1
@@ -147,7 +147,7 @@ export default class VehicleBlockPrimary extends React.PureComponent<Props> {
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="ct-vehicle-block__attributes">
|
||||
<div className="ct-vehicle-block__attributes ct-vehicle-block__attributes--primary">
|
||||
{primaryProperties !== null && (
|
||||
<VehicleBlockPrimaryAttributes
|
||||
armorClassInfo={primaryProperties.armorClassInfo}
|
||||
|
||||
+7
-1
@@ -17,6 +17,12 @@ export default class VehicleBlockShell extends React.PureComponent<Props> {
|
||||
case Constants.VehicleConfigurationDisplayTypeEnum.INFERNAL_WAR_MACHINE:
|
||||
type = "infernal";
|
||||
break;
|
||||
case Constants.VehicleConfigurationDisplayTypeEnum.ELEMENTAL_AIRSHIP:
|
||||
type = "elemental-airship";
|
||||
break;
|
||||
case Constants.VehicleConfigurationDisplayTypeEnum.SPELLJAMMER:
|
||||
type = "spelljammer";
|
||||
break;
|
||||
case Constants.VehicleConfigurationDisplayTypeEnum.SHIP:
|
||||
default:
|
||||
type = "ship";
|
||||
@@ -24,7 +30,7 @@ export default class VehicleBlockShell extends React.PureComponent<Props> {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="ct-vehicle-block">
|
||||
<div className={`ct-vehicle-block ct-vehicle-block--${type}`}>
|
||||
<VehicleBlockShellCap displayType={displayType} />
|
||||
<div
|
||||
className={`ct-vehicle-block__block ct-vehicle-block__block--${type}`}
|
||||
|
||||
Reference in New Issue
Block a user