@@ -112,9 +112,9 @@ public sealed class AcBonusVsDamageTypeTest : ItemPropertyTest
112112
113113 public sealed class AcBonusVsRaceTest : ItemPropertyTest
114114 {
115- protected override ItemProperty ItemProperty => ItemProperty . ACBonusVsRace ( NwRace . FromRacialType ( RacialType . Outsider ) ! , 3 ) ;
115+ protected override ItemProperty ItemProperty => ItemProperty . ACBonusVsRace ( NwRace . FromRacialType ( RacialType . Outsider ) , 3 ) ;
116116 protected override ItemPropertyType PropertyType => ItemPropertyType . AcBonusVsRacialGroup ;
117- protected override int SubType => NwRace . FromRacialType ( RacialType . Outsider ) ! . Id ;
117+ protected override int SubType => NwRace . FromRacialType ( RacialType . Outsider ) . Id ;
118118 protected override ItemPropertyCostTablesEntry ? CostTable => NwGameTables . ItemPropertyCostTables . ElementAtOrDefault ( 2 ) ;
119119 protected override int CostTableValue => 3 ;
120120 }
@@ -163,9 +163,9 @@ public sealed class AttackBonusVsAlignmentGroupTest : ItemPropertyTest
163163
164164 public sealed class AttackBonusVsRaceTest : ItemPropertyTest
165165 {
166- protected override ItemProperty ItemProperty => ItemProperty . AttackBonusVsRace ( NwRace . FromRacialType ( RacialType . Halfling ) ! , 9 ) ;
166+ protected override ItemProperty ItemProperty => ItemProperty . AttackBonusVsRace ( NwRace . FromRacialType ( RacialType . Halfling ) , 9 ) ;
167167 protected override ItemPropertyType PropertyType => ItemPropertyType . AttackBonusVsRacialGroup ;
168- protected override int SubType => NwRace . FromRacialType ( RacialType . Halfling ) ! . Id ;
168+ protected override int SubType => NwRace . FromRacialType ( RacialType . Halfling ) . Id ;
169169 protected override ItemPropertyCostTablesEntry ? CostTable => NwGameTables . ItemPropertyCostTables . ElementAtOrDefault ( 2 ) ;
170170 protected override int CostTableValue => 9 ;
171171 }
@@ -268,9 +268,9 @@ public sealed class DamageBonusVsAlignmentGroupTest : ItemPropertyTest
268268
269269 public sealed class DamageBonusVsRaceTest : ItemPropertyTest
270270 {
271- protected override ItemProperty ItemProperty => ItemProperty . DamageBonusVsRace ( NwRace . FromRacialType ( RacialType . Elemental ) ! , IPDamageType . Bludgeoning , IPDamageBonus . Plus2d6 ) ;
271+ protected override ItemProperty ItemProperty => ItemProperty . DamageBonusVsRace ( NwRace . FromRacialType ( RacialType . Elemental ) , IPDamageType . Bludgeoning , IPDamageBonus . Plus2d6 ) ;
272272 protected override ItemPropertyType PropertyType => ItemPropertyType . DamageBonusVsRacialGroup ;
273- protected override int SubType => NwRace . FromRacialType ( RacialType . Elemental ) ! . Id ;
273+ protected override int SubType => NwRace . FromRacialType ( RacialType . Elemental ) . Id ;
274274 protected override ItemPropertyCostTablesEntry ? CostTable => NwGameTables . ItemPropertyCostTables . ElementAtOrDefault ( 4 ) ;
275275 protected override int CostTableValue => ( int ) IPDamageBonus . Plus2d6 ;
276276 protected override int Param1TableValue => ( int ) IPDamageType . Bludgeoning ;
@@ -357,9 +357,9 @@ public sealed class DecreaseACTest : ItemPropertyTest
357357
358358 public sealed class DecreaseSkillTest : ItemPropertyTest
359359 {
360- protected override ItemProperty ItemProperty => ItemProperty . DecreaseSkill ( NwSkill . FromSkillType ( Skill . Discipline ) ! , 5 ) ;
360+ protected override ItemProperty ItemProperty => ItemProperty . DecreaseSkill ( NwSkill . FromSkillType ( Skill . Discipline ) , 5 ) ;
361361 protected override ItemPropertyType PropertyType => ItemPropertyType . DecreasedSkillModifier ;
362- protected override int SubType => NwSkill . FromSkillType ( Skill . Discipline ) ! . Id ;
362+ protected override int SubType => NwSkill . FromSkillType ( Skill . Discipline ) . Id ;
363363 protected override ItemPropertyCostTablesEntry ? CostTable => NwGameTables . ItemPropertyCostTables . ElementAtOrDefault ( 21 ) ;
364364 protected override int CostTableValue => 5 ;
365365 }
@@ -383,9 +383,9 @@ public sealed class EnhancementBonusVsAlignmentGroupTest : ItemPropertyTest
383383
384384 public sealed class EnhancementBonusVsRaceTest : ItemPropertyTest
385385 {
386- protected override ItemProperty ItemProperty => ItemProperty . EnhancementBonusVsRace ( NwRace . FromRacialType ( RacialType . Dragon ) ! , 2 ) ;
386+ protected override ItemProperty ItemProperty => ItemProperty . EnhancementBonusVsRace ( NwRace . FromRacialType ( RacialType . Dragon ) , 2 ) ;
387387 protected override ItemPropertyType PropertyType => ItemPropertyType . EnhancementBonusVsRacialGroup ;
388- protected override int SubType => NwRace . FromRacialType ( RacialType . Dragon ) ! . Id ;
388+ protected override int SubType => NwRace . FromRacialType ( RacialType . Dragon ) . Id ;
389389 protected override ItemPropertyCostTablesEntry ? CostTable => NwGameTables . ItemPropertyCostTables . ElementAtOrDefault ( 2 ) ;
390390 protected override int CostTableValue => 2 ;
391391 }
@@ -501,17 +501,17 @@ public sealed class LimitUseByAlignTest : ItemPropertyTest
501501
502502 public sealed class LimitUseByClassTest : ItemPropertyTest
503503 {
504- protected override ItemProperty ItemProperty => ItemProperty . LimitUseByClass ( NwClass . FromClassType ( ClassType . Bard ) ! ) ;
504+ protected override ItemProperty ItemProperty => ItemProperty . LimitUseByClass ( NwClass . FromClassType ( ClassType . Bard ) ) ;
505505 protected override ItemPropertyType PropertyType => ItemPropertyType . UseLimitationClass ;
506- protected override int SubType => NwClass . FromClassType ( ClassType . Bard ) ! . Id ;
506+ protected override int SubType => NwClass . FromClassType ( ClassType . Bard ) . Id ;
507507 protected override ItemPropertyCostTablesEntry ? CostTable => NwGameTables . ItemPropertyCostTables . ElementAtOrDefault ( 0 ) ;
508508 }
509509
510510 public sealed class LimitUseByRaceTest : ItemPropertyTest
511511 {
512- protected override ItemProperty ItemProperty => ItemProperty . LimitUseByRace ( NwRace . FromRacialType ( RacialType . Undead ) ! ) ;
512+ protected override ItemProperty ItemProperty => ItemProperty . LimitUseByRace ( NwRace . FromRacialType ( RacialType . Undead ) ) ;
513513 protected override ItemPropertyType PropertyType => ItemPropertyType . UseLimitationRacialType ;
514- protected override int SubType => NwRace . FromRacialType ( RacialType . Undead ) ! . Id ;
514+ protected override int SubType => NwRace . FromRacialType ( RacialType . Undead ) . Id ;
515515 protected override ItemPropertyCostTablesEntry ? CostTable => NwGameTables . ItemPropertyCostTables . ElementAtOrDefault ( 0 ) ;
516516 }
517517
@@ -625,9 +625,9 @@ public sealed class RegenerationTest : ItemPropertyTest
625625
626626 public sealed class SkillBonusTest : ItemPropertyTest
627627 {
628- protected override ItemProperty ItemProperty => ItemProperty . SkillBonus ( NwSkill . FromSkillType ( Skill . Persuade ) ! , 9 ) ;
628+ protected override ItemProperty ItemProperty => ItemProperty . SkillBonus ( NwSkill . FromSkillType ( Skill . Persuade ) , 9 ) ;
629629 protected override ItemPropertyType PropertyType => ItemPropertyType . SkillBonus ;
630- protected override int SubType => NwSkill . FromSkillType ( Skill . Persuade ) ! . Id ;
630+ protected override int SubType => NwSkill . FromSkillType ( Skill . Persuade ) . Id ;
631631 protected override ItemPropertyCostTablesEntry ? CostTable => NwGameTables . ItemPropertyCostTables . ElementAtOrDefault ( 25 ) ;
632632 protected override int CostTableValue => 9 ;
633633 }
0 commit comments