Index: scripts/globals/status.lua =================================================================== --- scripts/globals/status.lua (revision 3812) +++ scripts/globals/status.lua (working copy) @@ -807,6 +807,7 @@ MOD_HIGH_JUMP_ENMITY_REDUCTION = 0x16B MOD_REWARD_HP_BONUS = 0x16C MOD_SNAP_SHOT = 0x16D +MOD_BARRAGE = 0x1D3 MOD_MAIN_DMG_RATING = 0x16E MOD_SUB_DMG_RATING = 0x16F MOD_REGAIN = 0x170 Index: src/map/modifier.h =================================================================== --- src/map/modifier.h (revision 3812) +++ src/map/modifier.h (working copy) @@ -317,6 +317,7 @@ MOD_SNAP_SHOT =0x16D,// Percent reduction to range attack delay MOD_RAPID_SHOT =0x167,// Percent chance to proc rapid shot MOD_WIDESCAN =0x154, + MOD_BARRAGE =0x1D3,// Barrage Shot Count Increase // Samurai MOD_ZANSHIN =0x132,// Percent chance to counter @@ -441,7 +442,7 @@ MOD_EAT_RAW_MEAT = 410 }; -#define MAX_MODIFIER 411 +#define MAX_MODIFIER 0x242 Index: src/map/utils/battleutils.cpp =================================================================== --- src/map/utils/battleutils.cpp (revision 3812) +++ src/map/utils/battleutils.cpp (working copy) @@ -3563,9 +3563,9 @@ if (lvl < 30) return 0; else if (lvl < 50) shotCount += 3; else if (lvl < 75) shotCount += 4; - else if (lvl < 90) shotCount += 5; - else if (lvl < 99) shotCount += 6; - else if (lvl >= 99) shotCount += 7; + else if (lvl < 90) shotCount += (5 + PChar->getMod(MOD_BARRAGE)); + else if (lvl < 99) shotCount += (6 + PChar->getMod(MOD_BARRAGE)); + else if (lvl >= 99) shotCount += (7 + PChar->getMod(MOD_BARRAGE)); // make sure we have enough ammo for all these shots