Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Categories for Weapons Bonuses #119
The last of the "categories" change sets. This adds category filtering to weapons bonuses. The only real difference is that the "owner" of a WeaponStat could be something other than Equipment, and if so, we won't know what categories it belongs to (so we send null). And we had to protect the WeaponBonus matchesCategories() method in case the categories were null.