MajorCreepAttack
- comment
- bug
Leaks handle
target: In Jass you must set local variables that hold handles (or any child type) tonullat the end of functions to avoid leaks.- patch
1.00
- Source
- common.ai (raise an issue to discuss on Github or submit a PR)
- return type
nothing- Source code
function MajorCreepAttack takes nothing returns nothing local unit target = GetMajorCreep() call SetAllianceTarget(target) call FormGroup(3,true) call AttackMoveKillA(target) endfunction