About This File
Short story: Repeating blasters were originally intended to give the user an additional attack in every round of combat (like twin-blade melee weapons do). This mod implements that effect. I.e. a character without force speed would normally do 1 attack when using a repeater, 2 when using rapid shot as well. Now, 2 attacks will be done when using the default attack and 3 when using rapid shot.
Long story: After investigating in 2015 what could be the reason for repeaters costing more (500 vs 300) credits while having a worse crit range (5% vs 10%) than blaster rifles while having no advantage whatsoever, I found out that repeaters were originally intended to give the user an additional attack per round, sort of making them the double-blades of the blasters. Sadly, this was never implemented, as one internal item comment even comments on. I didn't know enough about scripting back then and quickly lost interest in fixing this. But now, more than 3 years later, it's finally fixed via scripting, placing the required code in the k_ai_master script.
Known issues: Due to hardcoded mechanics, power blast can never do more than 1 attack, and sniper shot never more than 2. Normal attack appears to usually only do 2, but may rarely do 3 when using force speed as well. Sadly, these cannot be changed without access to the game code. This information turned out to be incorrect, and the user Darg727 made a fix for this. However, this has a downside: It works by making power blast and sniper shot always shoot 4 shots regardless of how many attacks are available, which looks very strange because all shots that don't have a corresponding attack round are auto-misses. For example, using a sniper shot with a blaster rifle or single pistol will cause 4 shots to be fired simultaneously, like a shotgun blast, with 3 of the 4 automatically hitting the floor/ceiling/wall. Using knight speed would allow 2 of those 4 to hit and only 2 would be an auto-miss, etc.... As per Darg727's upload permissions, I have included the responsible file (weapondischarge.2da) as an optional mod in the download for additional visibility for those people that might want to use the feature but would not come across his modification otherwise.
Compatible with any mod that does not edit the k_ai_master.ncs file, and incompatible with any that does. (However, it is easy for any modder to add the compatibility, source is included.)
Note that this fix works for both the player and enemies! This can make some fights of the game slightly more challenging.
What's New in Version 2.0 See changelog
Released
Complete rewrite in order to fix the bug where party members could get locked out from receiving the bonus, it should now reliably work under any circumstances.
Fixed knight/master speed and this overwriting another's extra attacks. (Though note that extra attacks from scripts seem to be capped at +2, so sadly there is still a lost attack when combining repeaters with master speed.)
Debug ncs file added to make checking for functionality easier in case any issues pop up again (they really should not).