Musashi1584 / RPGO

4 stars 7 forks source link

Zone of Control doesn't work with a primary pistol #71

Closed Iridar closed 4 years ago

Iridar commented 4 years ago

Zone of Control is made of two parts: 1) Passive that applies Return Fire effect 2) Active that shoots the enemy when Return Fire listener triggers.

The passive has ability weapon restrictions configured, but the active doesn't.

Solution: add this to XComRPG.ini. Tested and confirmed as a fix:

+AbilityWeaponCategoryRestrictions = (AbilityName=ZoneOfControlReturnFire, WeaponCategories=(pistol, sidearm))