AMAI icon indicating copy to clipboard operation
AMAI copied to clipboard

GetPlayerHeroBonusStrength

Open jzy-chitong56 opened this issue 1 year ago • 0 comments

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

jzy-chitong56 avatar Oct 12 '22 15:10 jzy-chitong56