You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Akimbo pistols are set as 'akimbo' in weapon_tweak_data().categories[1] (primary category) and 'pistol' in weapon_tweak_data().categories[2] (sub-category). Currently, Pocohud only checks if a weapon is a 'pistol' in its primary category before showing the Trigger Happy buff indicator, which will not trigger for Akimbo pistols. Note that this has been an issue before references in weapon.category in weapontweakdata have been changed to weapon.categories[1] in U145.
local weapon_category = weap_base:weapon_tweak_data().category
if managers.player:has_category_upgrade(weapon_category, "stacking_hit_damage_multiplier") then
should be something like:
local weapon_category = weap_base:weapon_tweak_data().categories[1]
local weapon_sub_category = weap_base:weapon_tweak_data().categories[2]
if managers.player:has_category_upgrade(weapon_category, "stacking_hit_damage_multiplier") or
(weapon_sub_category and managers.player:has_category_upgrade(weapon_sub_category , "stacking_hit_damage_multiplier") ) then
The text was updated successfully, but these errors were encountered:
Akimbo pistols are set as 'akimbo' in
weapon_tweak_data().categories[1]
(primary category) and 'pistol' inweapon_tweak_data().categories[2]
(sub-category). Currently, Pocohud only checks if a weapon is a 'pistol' in its primary category before showing the Trigger Happy buff indicator, which will not trigger for Akimbo pistols. Note that this has been an issue before references inweapon.category
in weapontweakdata have been changed toweapon.categories[1]
in U145.Suggested fix @ https://github.com/zenyr/PocoHud3/blob/master/Hud3.lua#L1552 :
should be something like:
The text was updated successfully, but these errors were encountered: