BlzGetUnitWeaponRealField

Parameters
whichUnitunit
whichFieldunitweaponrealfield
indexinteger
comment
bug

Might crash the game when called on a unit with no attack.

patch

1.31.0.11889

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
real
Source code
native BlzGetUnitWeaponRealField                   takes unit whichUnit, unitweaponrealfield whichField, integer index returns real