ConvertAttackType

Parameters
i integer
note

Blizzard only defined attack-types 0 to 6 but there is a hidden one: ConvertAttackType(7). http://www.hiveworkshop.com/forums/t-269/h-227993/

pure
This function is pure. For the same values passed to it, it will always return the same value.
return type
attacktype
Source code
constant native ConvertAttackType           takes integer i returns attacktype
Source
common.j
wc3modding.com
ConvertAttackType