mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Changes to make things harder:
- added item status values (1-100%) to selling price calculation for selling to locals - increased probing attacks from queen after player conquers a sector - unlimited reinforcements for queen on Insane mode (possibly externalize this later...) - increased queen attacks on sectors after losing towns (ie: reduced her turtling up into meduna after losing some towns) -- requires unlimited reinforcements - increased admin-type troops being promoted to redshirt troops on hard/expert and insane (just garrisons on expert) - decreased quality of items dropped by enemy soldiers, based on difficulty level, as per the following formula: (dif_level - 1) * Random (20), so 0% for novice, up to 60% for insane git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@238 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2575,6 +2575,11 @@ BOOLEAN AddDeadSoldierToUnLoadedSector( INT16 sMapX, INT16 sMapY, UINT8 bMapZ, S
|
||||
pWorldItems[ bCount ].bVisible = TRUE;
|
||||
pWorldItems[ bCount ].bRenderZHeightAboveLevel = 0;
|
||||
|
||||
if ( Item[pSoldier->inv[i].usItem].damageable ) // Madd: drop crappier items on higher difficulty levels
|
||||
{
|
||||
pSoldier->inv[i].bStatus[0] -= (gGameOptions.ubDifficultyLevel - 1) * Random(20);
|
||||
pSoldier->inv[i].bStatus[0] = max(pSoldier->inv[i].bStatus[0],1); // never below 1%
|
||||
}
|
||||
memcpy( &(pWorldItems[ bCount ].o), &pSoldier->inv[i], sizeof( OBJECTTYPE ) );
|
||||
bCount++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user