- Bugfix: Old IMP Creation

o Fixed bug with IMP Attributes selection, where you could lower value to 0 and get bonus points

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4592 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2011-08-01 12:05:36 +00:00
parent 9773b338fd
commit 17c2c76bdf
3 changed files with 120 additions and 71 deletions
+10 -10
View File
@@ -1314,7 +1314,7 @@ INT32 StrengthRequiredDueToMajorSkills( void )
// Only for new trait system
if (!gGameOptions.fNewTraitSystem)
{
return (0);
return 0;
}
// Check first skill trait (plus second for double trait)
@@ -1360,7 +1360,7 @@ INT32 AgilityRequiredDueToMajorSkills( void )
// Only for new trait system
if (!gGameOptions.fNewTraitSystem)
{
return (0);
return 0;
}
// Check first skill trait (plus second for double trait)
@@ -1406,7 +1406,7 @@ INT32 DexterityRequiredDueToMajorSkills( void )
// Only for new trait system
if (!gGameOptions.fNewTraitSystem)
{
return (0);
return 0;
}
// Check first skill trait (plus second for double trait)
@@ -1496,7 +1496,7 @@ INT32 HealthRequiredDueToMajorSkills( void )
// Only for new trait system
if (!gGameOptions.fNewTraitSystem)
{
return (0);
return 0;
}
// Check first skill trait (plus second for double trait)
@@ -1542,7 +1542,7 @@ INT32 LeadershipRequiredDueToMajorSkills( void )
// Only for new trait system
if (!gGameOptions.fNewTraitSystem)
{
return (0);
return 0;
}
// Check first skill trait (plus second for double trait)
@@ -1577,7 +1577,7 @@ INT32 WisdomRequiredDueToMajorSkills( void )
// Only for new trait system
if (!gGameOptions.fNewTraitSystem)
{
return (0);
return 0;
}
// Check first skill trait (plus second for double trait)
@@ -1645,7 +1645,7 @@ INT32 MarksmanshipRequiredDueToMajorSkills( void )
// Only for new trait system
if (!gGameOptions.fNewTraitSystem)
{
return (0);
return 0;
}
// Check first skill trait (plus second for double trait)
@@ -1702,7 +1702,7 @@ INT32 MechanicalRequiredDueToMajorSkills( void )
// Only for new trait system
if (!gGameOptions.fNewTraitSystem)
{
return (0);
return 0;
}
// Check first skill trait (plus second for double trait)
@@ -1726,7 +1726,7 @@ INT32 MedicalRequiredDueToMajorSkills( void )
// Only for new trait system
if (!gGameOptions.fNewTraitSystem)
{
return (0);
return 0;
}
// Check first skill trait (plus second for double trait)
@@ -1750,7 +1750,7 @@ INT32 ExplosivesRequiredDueToMajorSkills( void )
// Only for new trait system
if (!gGameOptions.fNewTraitSystem)
{
return (0);
return 0;
}
// Check first skill trait (plus second for double trait)