mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Merged revision(s) 7057 from branches/ja2_source_official_2014:
- increased background-based chance to steal to 50%, money/gold/solver will be preferred targets - lowered exp stat gain for handling tripwire - new background ability: disarm_trap alters effectivity at defusing bombs - Fix: incorrectly deleted soldiers could still be counted as jamming/scanning git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7058 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -455,6 +455,10 @@ INT32 SkillCheck( SOLDIERTYPE * pSoldier, INT8 bReason, INT8 bChanceMod )
|
||||
}
|
||||
iSkill += EffectiveDexterity( pSoldier, FALSE ) * 2;
|
||||
iSkill += EffectiveExpLevel( pSoldier ) * 10;
|
||||
|
||||
// Flugente: backgrounds
|
||||
iSkill += pSoldier->GetBackgroundValue(BG_TRAP_DISARM);
|
||||
|
||||
iSkill = iSkill / 10; // bring the value down to a percentage
|
||||
//JMich_SkillModifiers: Adding a Disarm Trap bonus
|
||||
bSlot = FindDisarmKit( pSoldier);
|
||||
@@ -621,7 +625,7 @@ INT32 SkillCheck( SOLDIERTYPE * pSoldier, INT8 bReason, INT8 bChanceMod )
|
||||
}
|
||||
break;
|
||||
case ATTACH_POWER_PACK: // added by Flugente
|
||||
// technicians can attach it, other people can'
|
||||
// technicians can attach it, other people can't
|
||||
if ( HAS_SKILL_TRAIT( pSoldier, TECHNICIAN_NT ))
|
||||
iSkill = 100;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user