mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
93520bdc9d
* 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>
13 lines
412 B
C++
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}, {}};
|
|
};
|
|
};
|