MCPcopy Create free account
hub / github.com/bwapi/bwapi / isBeingHealed

Method isBeingHealed

bwapi/Shared/UnitShared.cpp:397–402  ·  view source on GitHub ↗

--------------------------------------------- IS BEING HEALED --------------------------------------------

Source from the content-addressed store, hash-verified

395 }
396 //--------------------------------------------- IS BEING HEALED --------------------------------------------
397 bool UnitImpl::isBeingHealed() const
398 {
399 return getType().getRace() == Races::Terran &&
400 self->isCompleted &&
401 self->hitPoints > self->lastHitPoints;
402 }
403 //--------------------------------------------- IS BLIND ---------------------------------------------------
404 bool UnitImpl::isBlind() const
405 {

Callers 2

Filters.cppFile · 0.80
onStartMethod · 0.80

Calls 1

getRaceMethod · 0.45

Tested by 1

onStartMethod · 0.64