mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
-spreadsheet update
-nerfed semi-auto sniper rifles: From Starwalker: >Bolt-action sniper rifles are still not used by players, so I would >propose (again) that the number of aiming actions be tied to rifle >type, not scope type (but still only if a scope [of any type] is >mounted): >Autoloaders: max 6 Aim-AP >Bolt-action: max 8 Aim-AP > >It is the only way I can think of to make the bolt-action rifles >worthwhile compared to the autoloaders (the added accuracy of the >bolt-action rifles seems to be of no interest to the players...). git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@369 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+3
-2
@@ -7164,12 +7164,13 @@ UINT8 AllowedAimingLevels(SOLDIERTYPE * pSoldier)
|
|||||||
{
|
{
|
||||||
iScopeBonus = ( (float)gGameExternalOptions.ubStraightSightRange * GetMinRangeForAimBonus(&obj) / 100 );
|
iScopeBonus = ( (float)gGameExternalOptions.ubStraightSightRange * GetMinRangeForAimBonus(&obj) / 100 );
|
||||||
|
|
||||||
if ( iScopeBonus >= ( (float)gGameExternalOptions.ubStraightSightRange * 0.3) ) // >= 30% of sight range (~4 tiles by default)
|
if ( iScopeBonus >= ( (float)gGameExternalOptions.ubStraightSightRange * 0.3) ) // >= 30% of sight range (~4 tiles by default)
|
||||||
{
|
{
|
||||||
aimLevels += 2;
|
aimLevels += 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( iScopeBonus >= ( (float)gGameExternalOptions.ubStraightSightRange * 0.6) ) // >= 60% of sight range (~9 tiles by default)
|
//Madd: nerfing semi-auto sniper rifles and forcing players to use bolt action sniper rifles for the extra aiming APs
|
||||||
|
if ( iScopeBonus >= ( (float)gGameExternalOptions.ubStraightSightRange * 0.6) && Weapon[obj.usItem].APsToReloadManually > 0 ) // >= 60% of sight range (~9 tiles by default)
|
||||||
{
|
{
|
||||||
aimLevels += 2;
|
aimLevels += 2;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user