AMAI
AMAI copied to clipboard
GetPlayerHeroBonusStrength
function GetPlayerHeroBonusStrength takes player p returns integer
local integer strength = 0
#INCLUDETABLE <$VER$\StandardUnits.txt> #EFR #COND %#OEVAL{16} != 0
set strength = strength + %#OEVAL{16} * GetPlayerUnitTypeCount(p, o%1 )
#ENDINCLUDE
set p = null
return strength
endfunction
After compilation OEVAL{16} != 0 , how to use?? what hero OEVAL{16} != 0
function GetPlayerHeroBonusStrength takes player p returns integer
local integer strength = 0
set p = null
return strength
endfunction