mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
14 lines
596 B
C++
14 lines
596 B
C++
class EGVAR(arsenal,stats) {
|
|
class statBase;
|
|
class ACE_explosiveRange: statBase {
|
|
scope = 2;
|
|
priority = 1;
|
|
stats[] = {QGVAR(Range)};
|
|
displayName = CSTRING(statExploRange);
|
|
showText = 1;
|
|
textStatement = QUOTE(params [ARR_2('_stat', '_config')]; private _exploRangeStat = getNumber (_config >> _stat select 0); format [ARR_3('%1m (%2ft)', _exploRangeStat, (_exploRangeStat / 0.3048) toFixed 1)]);
|
|
condition = QUOTE(params [ARR_2('', '_config')]; (getNumber (_config >> QQGVAR(Detonator))) > 0);
|
|
tabs[] = {{}, {7}};
|
|
};
|
|
};
|