mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
- added new disability "Fear of heights"
- Fix: wrong backgrounds were filtered out when checking for personality/disability/traits git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8351 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -209,6 +209,11 @@ INT8 EffectiveExpLevel( SOLDIERTYPE * pSoldier )
|
||||
// SANDRO - fear of insects, and we are in tropical sector
|
||||
iEffExpLevel -= 1;
|
||||
}
|
||||
else if ( DoesMercHaveDisability( pSoldier, AFRAID_OF_HEIGHTS ) && pSoldier->pathing.bLevel > 0 )
|
||||
{
|
||||
// Flugente: fear of heights
|
||||
iEffExpLevel -= 2;
|
||||
}
|
||||
}
|
||||
|
||||
// Flugente: diseases can affect stat effectivity
|
||||
|
||||
Reference in New Issue
Block a user