ACE3/addons/nightvision/ACE_Arsenal_Stats.hpp
Grim 93520bdc9d
Arsenal - Add and Improve stats (#9291)
* add nv and magnification stats

* improve ballistics conditions

* add ammo count stat

* Update addons/arsenal/ACE_Arsenal_Stats.hpp

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* Update addons/nightvision/ACE_Arsenal_Stats.hpp

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* cleanup

---------

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-07-28 10:05:12 +03:00

13 lines
412 B
C++

class EGVAR(arsenal,stats) {
class statBase;
class GVAR(generation): statBase {
scope = 2;
priority = 1.6;
condition = QUOTE('nvg' in (getArray ((_this select 1) >> 'visionMode') apply {toLower _x}));
displayName = CSTRING(NVGeneration);
showText = 1;
textStatement = QUOTE(call FUNC(statTextStatement_NVGeneration));
tabs[] = {{8}, {}};
};
};