CGUnit_C::CanStartMeleeAttack
function · objectlayer · primitive
- Address
0x612df0· 939 bytes, up to0x61319a- Meaning
- Checks a melee start against the attacker's state and settles an attackable target, else shows why
- Confidence
- verified, proof one
- Finding
- objectlayer/units#melee-attack
Finding: Melee attack in objectlayer: units
0x612df0(guid) checks a melee start and settles its target: no attack while dead, charmed,
stunned, pacified, fleeing, confused or mounted; an empty GUID takes the target, a friendly one is
replaced; the target must be attackable. 0x6131a0 toggles the player's attack or orders the
pet's.
The derivation is in the doc.
Callers 3
- PressPetAction ui
- CGUnit_C::StartAttack objectlayer
- TryCastSpell spell
Callees 13
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGGameUI::SelectTarget ui
- CGGameUI::TargetNearest ui
- CGGameUI::DisplayError ui
- IsDeadOrGhost objectlayer
- CGUnit_C::UnitReaction objectlayer
- CGUnit_C::CanAttack objectlayer
- ScanStunAuras spell
- ScanPacifyAuras spell
- ScanFearAuras spell
- ScanConfuseAuras spell
- ScanCharmAuras spell
Calls and jumps by a bare address, from tables/calls.tsv.