UNIT* unit;
for (int i=0;i <1700;i++){
unit = &unitTable[i];
if (unit->unitId == 53 && unit->mainOrderId==Burrowed)
unit->healthPoints+=18;
}
return true;
}
bool nextframe(){
UNIT* unit;
if (UpgradeId == 45 && UpgradeLevel == 1)
for (int i=0;i <1700;i++){
unit = &unitTable[i];
if (unit->unitId == 53 && unit->mainOrderId==Burrowed)
unit->healthPoints+=33;
}
return true;
}
This is what I have so far, the first one makes the Hunter Killer regenerate HP faster while burrowed, and the second one is suppose to make it to when you get a certain upgrade then the hunter killer regenerates HP even faster while burrowed. Can anyone help? I'm VERY new to this...
Post has been edited 4 time(s), last time on Jul 23 2011, 6:07 pm by Templarfreak.
None.